-
Staff Sergeant
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 14:46.
-
Master Sergeant
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
Good luck!
Last edited by Loyalguard; Aug 1 2011 at 15:58.
Reason: Added user action key links
-
Staff Sergeant
Thanks, I shall try those things you suggested
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules