Jump to content
Sign in to follow this  
stlmikey

Activate Trigger when all alive players enter a vehicle.

Recommended Posts

I've searched and searched, and I am completely at a loss for how to activate a trigger when the remaining alive players enter a vehicle.

(In this case a helicopter.)

Any help is very appreciated!

Share this post


Link to post
Share on other sites

(group) in (vehicle)

apologies if i'm being a simpleton but that worked fine for me when i synchronised it to a waypoint i wanted to activate.

Share this post


Link to post
Share on other sites

If you search the forum, you will find the syntax to count the number of allive ppl in a group and compare with the number of the group in the vehicle.

Cheers

GC

Share this post


Link to post
Share on other sites

Here is an example of a condition to check if all remaining (alive) units of a group <group> are in a specific vehicle <veh>:

{_X in crew <veh>} count (units <group>) >= {alive _X} count (units <group>)

Or to check if all members are in ANY vehicle (not necessarily all in the same vehicle though):

{(vehicle _X) != _X} count (units <group>) >= {alive _X} count (units <group>)

Perhaps you can modify this to suit your needs (since you weren't very specific this is the best I can do).

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  

×