Results 1 to 3 of 3

Thread: VOIP Eventhandler or any possible information that it is in use?

  1. #1

    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.

  2. #2
    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
    LoyalGuard
    Former OFPEC Editors Staff Member | Former ACE1 Dev Team Member
    My ArmA Projects
    "...brain-hurting expressions of realism like Loyalguard’s functioning Chernarus Electrical Grid." -PC Gamer

  3. #3
    Staff Sergeant Double Doppler's Avatar
    Join Date
    Sep 1 2010
    Location
    London, UK
    Posts
    239
    Author of the Thread
    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
  •