Jump to content
Sign in to follow this  
mia389

Trigger condition help

Recommended Posts

I need my condition to be something like this:

p1 in thislist or p2 in thislist or p3 in thislist and alive aa1

This is not working. P1, P2 and P3 are hueys and AH60s. aa1 is AA zu23. I want the trigger to go off only when one of the choppers are in the trigger area with the zu23 being alive.

I am not sure on the right code to put.

A bonus would to be only trigger if above 70 meters to

Share this post


Link to post
Share on other sites

BLUFOR PRESENT REPEATEDLY

Condition:

this && alive aa1 && ({_x in thislist && (getPosATL _x select 2 > 70)} count [p1, p2, p3] > 0)

Share this post


Link to post
Share on other sites

Thanks once again kylania. That was super fast! Much appreciated

Share this post


Link to post
Share on other sites

On the same topic how would I make it so a trigger activates when bluefor are below say 20 meters?

I am now trying to make a trigger with a hint when players enter the trigger. But when they fly over it I dont want the trigger to trigger.

Share this post


Link to post
Share on other sites

You'd add:

!(_x iskindof "Air")

to part of the condition to prevent flying vehicles from setting off the trigger.

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  

×