HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Disable move

05-19-2008, 09:24 PM#1
jw232
Is there a way to remove the move command from a unit but let it still move (with triggers?) I tried setting speed base to 0, but when I move the unit the green selection circle moves but the unit model stays in the same place. I want to disable allowing the unit to move by right-clicking.
05-19-2008, 10:28 PM#2
Sabertooth_X
...I actually don't think there is. At least not a GUI-way to do it, unless you want to CONSTANTLY instantly move it...but that'll look very bad.
05-20-2008, 12:05 AM#3
rulerofiron99
A move trigger + SetUnitAnimationByIndex() might do the trick.

What exactly do you have in mind?
05-20-2008, 01:34 AM#4
darkwulfv
Either give it the Ward classification (I think that does it), or remove 'Amov' from the unit.
05-20-2008, 02:02 AM#5
TEC_Ghost
Kinda complicated, But you could Remove 'Amov' then Add a dummy ability with the Move icon, then when they cast the spell call a trigger to move the x/y of the unit over time and play the walk animation.
05-20-2008, 02:04 AM#6
Here-b-Trollz
Set Movement Type to None, movement speed to anything > 0.
05-20-2008, 09:58 AM#7
DioD
Here-b-Trollz

None movement removes collusion detection...