thedubl 43 Posted July 30, 2016 Why does this not work? My _plane object will be well over 50m this does not return true. round ((getPosASL _plane) select 2) >= 50; Actual waituntil... when this runs I am hinting the height. I know it is higher then 50. I think I am losing it here. :wacko: waitUntil { round ((getPosASL _plane) select 2) >= 50; if(_debug)then{hint format[" %1", round((getPosASL player) select 2)];}; sleep 2; }; I must not be seeing something. dub Share this post Link to post Share on other sites
Mark Queen 0 Posted July 30, 2016 What exactly do you want to do? Share this post Link to post Share on other sites
theend3r 83 Posted July 30, 2016 The condition needs to be at the end. It's just like how you return values with functions. Share this post Link to post Share on other sites
thedubl 43 Posted July 30, 2016 The condition needs to be at the end. It's just like how you return values with functions. Time to call it a day and drink a beer. Thanks theend3r. dub Share this post Link to post Share on other sites
ceeeb 147 Posted July 31, 2016 Try: waitUntil {sleep 2; ((getPosASL _plane) select 2) > 50}; Share this post Link to post Share on other sites
thedubl 43 Posted July 31, 2016 Try: waitUntil {sleep 2; ((getPosASL _plane) select 2) > 50}; Thanks, Yep, I got it. theend3r was quick to point it out. Share this post Link to post Share on other sites