hectrol 4 Posted December 28, 2023 Please how would this code be correct? Something like that but with the correct condition or statement: waituntil {HELI1 (2 meters from the ground) }; Thanks Masters Share this post Link to post Share on other sites
pierremgi 4850 Posted December 29, 2023 waitUntil {getPos heli1 #2 >2}; 1 Share this post Link to post Share on other sites
froggyluv 2135 Posted December 29, 2023 Holy smokes theres still people here...this is like coming to an old plane crash landing and seeing movement among the debris. What happened to this forum - its literally spam bombed everytime I take a peek 1 Share this post Link to post Share on other sites
hectrol 4 Posted December 29, 2023 14 hours ago, pierremgi said: waitUntil {getPos heli1 #2 >2}; @pierremgi I'm sorry but it doesn't work. It doesn't pause. Share this post Link to post Share on other sites
Harzach 2517 Posted December 29, 2023 2 hours ago, hectrol said: @pierremgi I'm sorry but it doesn't work. It doesn't pause. Show all of your code and describe what you want to achieve. Share this post Link to post Share on other sites
hectrol 4 Posted December 31, 2023 It is part of a script with dialogue and events in which a Chinook is seriously damaged and makes a forced landing. I just wanted to pause until it hits the ground. Instead of by time. Share this post Link to post Share on other sites
pierremgi 4850 Posted December 31, 2023 11 minutes ago, hectrol said: It is part of a script with dialogue and events in which a Chinook is seriously damaged and makes a forced landing. I just wanted to pause until it hits the ground. Instead of by time. Without your code, we can't help you... you probably wrote this pause in an unscheduled scope. Share this post Link to post Share on other sites
Harzach 2517 Posted December 31, 2023 On 12/29/2023 at 12:40 AM, pierremgi said: waitUntil {getPos heli1 #2 >2}; On 12/29/2023 at 2:55 PM, hectrol said: @pierremgi I'm sorry but it doesn't work. It doesn't pause. Since you are waiting for the helo to get within 2m of the ground, approaching from above that envelope, @pierremgi's code will work if you flip the greater-than operator to less-than. Currently, the condition is met instantly since the helo is already above the 2m envelope. And as he mentioned, scope might be another issue. Show your code. 2 Share this post Link to post Share on other sites