Home   Help Search Login Register  

Author Topic: Detecting if a unit shoots  (Read 608 times)

0 Members and 1 Guest are viewing this topic.

max_killer_payne

  • Guest
Detecting if a unit shoots
« on: 07 Jul 2003, 18:07:13 »
I am making a 'Nam mission and when one of the players squad or the player shoots, mortars and artillery are called down on the players position I used this:

player AddEventHandler ["Fired","{mortar DoFire player}"]

 ???  I don't get an error message just doesent work, the mortar doesent fire. It might be just the behaviour of the mortar I dunno

_hammy_

  • Guest
Re:Detecting if a unit shoots
« Reply #1 on: 07 Jul 2003, 19:55:14 »
try this:

player AddEventHandler ["Fired",{mortar DoFire player}]

also make sure that the morter is accually named "mortar"

max_killer_payne

  • Guest
Re:Detecting if a unit shoots
« Reply #2 on: 07 Jul 2003, 21:54:31 »
cheers HAMMY

Can u IM me foodstamps email on OFPNAM?

_hammy_

  • Guest
Re:Detecting if a unit shoots
« Reply #3 on: 08 Jul 2003, 03:16:10 »
he already replyed to your thread giving his email....