• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Solved] How to stop unit from moving in one frame

Status
Not open for further replies.
Level 5
Joined
May 26, 2012
Messages
76
Hello! I'm having big trouble with the beginning of cutscenes in my map because unit will remember the last issues order to move and will go there during a cutscene.

I tried all of these functions and some of them work ("Hold position" for instance) but then unit ignores the next given order if I don't wait for 1-2 seconds before issuing it.


upload_2020-6-12_17-33-17.png


Is there a way to stop unit from going anywhere and then make it ready to receive the next order to move instantly? This issue is driving me crazy.
 
Level 12
Joined
Jan 30, 2020
Messages
875
I remember having had order issues in the past, and fixed them with a 0.0s wait.

Even today using Lua, I use 0.0s timers between orders to make them work properly.
 
Status
Not open for further replies.
Top