Jump to content
Sign in to follow this  
CaptainBravo

Help with Shots fired activate Trigger?

Recommended Posts

Hey everyone,

I need a trigger to be activated if shots are fired from one specific squad. Any idea how?

Thanks for your hlep.

Share this post


Link to post
Share on other sites

Trigger Condition:

shotIsFired

Shots fired from the squad (add this in the init of one of the units in the group):

{_x addEventHandler['Fired',{shotIsFired = true}]} forEach (units group this)

Share this post


Link to post
Share on other sites

Thanks Benny for yor response. After testing, the command does not seem to be working.

Placed shotIsFired in coonidtion in tigger and

{_x addEventHandler['Fired',{shotIsFired = true}]} forEach (sf)

in leader of grp init field.

sf is group name.

Nothing happened as I kept on firing.

What am I missing?

Share this post


Link to post
Share on other sites

then it must be

... foreach (units sf)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×