Jump to content
Sign in to follow this  
TraxusIV

Helicopter: Down but not out?

Recommended Posts

Ok, so I have a helicopter coming in for extraction. I have triggers set up to tell me if it gets destroyed (!alive). But how the heck do I tell when the pilots are dead and it lands by autorotation, or gets too damaged and has to land, or whatever? How do I tell when it's been forced to land due to enemy fire?

Any ideas?

Trax

Share this post


Link to post
Share on other sites

Does canMove return false if the pilots are dead but the helicopter is otherwise ok?

Share this post


Link to post
Share on other sites

this will check if the pilot is alive.

if !(alive driver helo) then {

// Do stuff in here

};

this will check if the whole crew is dead. in case it's of any importance that the copilot is dead too.

if (({!alive _x} count crew helo)==(count crew helo)) then {

// Do stuff in here

};

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  

×