TraxusIV 1 Posted March 16, 2013 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
tryteyker 28 Posted March 16, 2013 canMove Syntax: if !(canMove helo) then { // Do stuff in here }; Share this post Link to post Share on other sites
TraxusIV 1 Posted March 16, 2013 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
bad benson 1733 Posted March 16, 2013 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
f2k sel 164 Posted March 16, 2013 Never mind beaten to it. Share this post Link to post Share on other sites
TraxusIV 1 Posted March 16, 2013 awesome, thanks. :) Share this post Link to post Share on other sites