Jump to content
Sign in to follow this  
mac7

need trigger actviated when units in/out vehicle

Recommended Posts

need trigger actviated when units get in a helicopter

another when the get out

just want helicopter moves away when units dismount by ropes

can i right a script in WP condition so heli starts to move only when units get out ?

Share this post


Link to post
Share on other sites

Assuming this is for single-player, name the helicopter (eg. choppy).

Condition for player's group being aboard:

"alive _x" count (units player + [driver choppy] + [gunner choppy]) == "alive _x" count (crew choppy)

Condition for player's group having disembarked:

"_x in choppy && alive _x" count (units player) == 0

Put the second condition in the waypoint where the team get out, and also put a handful of seconds in the "Timeout" boxes. The heli will stay at the waypoint until the team are out of the doors and the time has elapsed - that is, it will wait until they have roped down to the ground.

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  

×