How do I completely turn off a unit's movement?

Kenoriga

Ultra Cool Member
Reaction score
34
It should work? Do you have any events? If not... you can't make any "Unit - Set its movement speed to 0.00".
 

SFilip

Gone but not forgotten
Reaction score
634
> That isn't working.
And what happens?
Care to post the whole thing?
 

PaladinHeart

New Member
Reaction score
3
Yes I have an event. Everything else works fine in the trigger. The unit's movement is just not being turned off.

Is there something in the gameplay constants I need to change?
 

Rheias

New Helper (I got over 2000 posts)
Reaction score
232
You need to change somthing under Advanced > Game constants. At default World Editor doesn't allow a unit to move so slowly, but changing a certain field there (I forgot which one) will allow you to do this.

You can also try to do:

E: Every 0.03 seconds.
C: BooleanVar is true
A: Issue unit X to stop.
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
why dont u use

animation - set x unit's animation speed to 0%
 

Kenoriga

Ultra Cool Member
Reaction score
34
why dont u use
animation - set x unit's animation speed to 0%

That is the speed of the unit's animation, not the unit's movement speed ^^ Means if you make it 0%, I think that there would be a still picture for the unit, but he can still move.
 

WarLuvr3393

Hmmm...too many things to play (WoW, COD4, WC3)
Reaction score
54
Then set the animation speed and it's movement speed to 0 so he can't move.
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
no u must pause the unit first then set unit animation spd to 0 and ms to 0...

I tested be4 when u straight set animation and move spd to 0 wont work but by adding pause and unpause it works charm..

action-
pause x unit
set animation spd of x unit to 0%
set ms of x unit to 0
unpause x unit
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top