MeltedAd 0 Posted May 15, 2003 Is it possible for a trigger to work only when a unit is on the ground? I have a pilot ejecting and want a trigger to activate the moment he hits the ground but have no idea how to do this. If anyone could help me a would be most greatful. Share this post Link to post Share on other sites
RED 0 Posted May 15, 2003 Change the triggers condition field to something like: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">this && (getpos pilotname select 2) <= 2<span id='postcolor'> RED Share this post Link to post Share on other sites
MintyBoy 0 Posted May 15, 2003 Set your trigger up for what you want it to do (say a "Present" trigger grouped to the pilot) and put this in it's "Condition" field: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> this && (getpos pilotname select 2) < 1 <span id='postcolor'> This should (I've not tested it) wait until the pilot's inside the trigger radius and at a height of less than 1m. Share this post Link to post Share on other sites
Guest jacobaby Posted May 17, 2003 If the pilot is in a chute you could use a line like; </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> vehicle pilot == pilot <span id='postcolor'> As the condition, then when he leaves the chute the trigger will activate TJ Share this post Link to post Share on other sites