essemm 0 Posted December 20, 2006 Hey folks. I'm trying to get an AI helo to go to a waypoint and wait for me to complete my mission, whereupon, I will call the helo to come pick me up (with a radio trigger). I've got it *almost* working, but I can't seem to get the helo to shut off it's engine. This is what I've got for the initialisation for the land waypoint: <span style='color:blue'>chopper1 stop true; chopper1 flyInHeight 0; chopper1 engineOn false; chopper setFuel 1;</span> ###where chopper1 is the name of the helicopter Then' I've got a trigger set with this code: <span style='color:blue'>chopper1 engineOn true; chopper1 stop false; chopper1 flyInHeight 40</span> It all works, except the <span style='color:blue'>chopper1 engineOn false</span> bit. The helo just doesn't want to shut off his engines... Any help? Share this post Link to post Share on other sites
raedor 8 Posted December 20, 2006 All you have to do is<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">chopper setFuel 0Set it to 1 again if it's ready for start. Share this post Link to post Share on other sites
essemm 0 Posted December 20, 2006 Hey raedor. I think that makes the pilot get out of the chopper though...doesn't it? Share this post Link to post Share on other sites
Trapper 0 Posted December 20, 2006 Engineon only returns the engine status and doesn't affect it. Share this post Link to post Share on other sites
TeRp 1 Posted December 20, 2006 Engineon only returns the engine status and doesn't affect it. Sure? Haven't tried it yet, but the Wiki says something else. Share this post Link to post Share on other sites
Hawke 0 Posted December 21, 2006 isEngineOn returns the status Share this post Link to post Share on other sites