VOIP Eventhandler or any possible information that it is in use?
Hi, is it possible to detect whether a player is transmitting VON?. Also is it possible to detect what type of VON is in use (direct, vehicle etc). This is ofcourse, for the player.
Last edited by Double Doppler; Aug 1 2011 at 15:46.
I don't think there is an event handdler for VON events, but, using ctrlSetEventHandler and actionKeys (or actionKeysNamesArray) you could probably detect when a player presses one of the keys that they have assigned to VON channels.
There is some example code (but not for VON) in the User Interface Event Handlers Biki page under the Script defined events section.
Edit: You can find the names of the action keys you would need under ArmA 2: CfgDefaultKeysMapping. Probably these: PushToTalkAll, PushToTalkCommand, PushToTalkDirect, PushToTalkGroup, PushToTalkSide, PushToTalkVehicle
Last edited by Loyalguard; Aug 1 2011 at 16:58.
Reason: Added user action key links
Thanks, I shall try those things you suggested