logan83 11 Posted December 20, 2015 hi there guts, im trying to maintain a chopper in the ground after unload some units with Heli1 setvelocity [0,0,0], and the heli, veeeeeery slowly add throttle up and gets more and more height whats wrong? Share this post Link to post Share on other sites
whiztler 135 Posted December 20, 2015 Try Heli1 flyInHeight 0; 1 Share this post Link to post Share on other sites
logan83 11 Posted December 20, 2015 nope :( error type number vector needed... :( Share this post Link to post Share on other sites
killzone_kid 1326 Posted December 20, 2015 nope :( error type number vector needed... :( Impossible https://community.bistudio.com/wiki/flyInHeight Share this post Link to post Share on other sites
logan83 11 Posted December 20, 2015 Ohm Sorry! i Missunderstand... i Use Setvelocity 0 :wacko: now i try Heli1 flyInHeight 0; some times works some times nope... but find a dirty solution: while {isEngineOn Heli1 && count crew heli1 <=5 } do{ heli1 setVelocity [0,0,-0.3]; }; Not the best, but works, thanks to both... Share this post Link to post Share on other sites
zapat 55 Posted December 21, 2015 Change the while to a waitUntil.(And of course alter the condition accordingly) Waituntil only runs on each frame, while runs as the cpu allows. Share this post Link to post Share on other sites