Home   Help Search Login Register  

Author Topic: When secondary weapon is fired  (Read 880 times)

0 Members and 1 Guest are viewing this topic.

Offline HedgeHog

  • Members
  • *
When secondary weapon is fired
« on: 03 Nov 2008, 12:37:45 »


When an AA soldier fires with his Stinger, the player flying in the chopper shouts "Watch out!!!".

Now, I know everything about the sound and the text part, but I don't know how to deal with the condition.

Is there a eventhandler needed?

Help me!!!

Thank you in advance! ;) :D

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: When secondary weapon is fired
« Reply #1 on: 03 Nov 2008, 17:27:19 »
You need a "FIRED" handler on the shooter or a "INCOMINGMISSILE" handler on the chopper. Depends what you want to detect exactly.

addEventHandler
List of event handlers
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)