gerard-sog / arma3-macvsog-columbia-scripts

Arma3 MACV-SOG Columbia - Scripts & Settings
https://discord.gg/dyeUNXHFqS
MIT License
4 stars 3 forks source link

Radio battery V2 #222

Open gerard-sog opened 1 month ago

gerard-sog commented 1 month ago

with "acre_remoteStartedSpeaking" and "acre_remoteStoppedSpeaking" (see https://acre2.idi-systems.com/wiki/frameworks/events-list) I think i will be able to also detect when someone is listeing to radio and then remove battery (passively listrening will consume battery).

For real we will have to turn ON/OFF radio to save battery, and turn ON/OFF during commo checks only.

gerard-sog commented 1 month ago

`["acre_remoteStartedSpeaking", { params ["_unit", "_speakingType", "_radioId"];

    systemChat "acre_remoteStartedSpeaking";
    systemChat ((str _unit) + (str _speakingType) + (str _radioId));

}

] call CBA_fnc_addEventHandler;`

to test on server