HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Unit-movement-disabling trigger help

08-07-2003, 03:47 PM#1
Pret
So far I can only find the 'pause hero' action most close to disabling a unit's movement. But the problem is that it entirely prevent you to use the hero.

Are there better solutions ?
08-07-2003, 03:58 PM#2
MarSara
Try setting the game constants minimum unit speed to 0, then you can call Unit-Set Movement Speed with a value of 0 to stop all movement. Alough I'm not sure, but when you do this I think the game thinks that, that unit is now a building, until the movement speed is reset.
08-07-2003, 04:27 PM#3
Pret
thanks for letting me know man
08-07-2003, 04:39 PM#4
Pret
btw, Is there a way to disable the hero from doing actions like attking or casting spells for a limited time with triggers ?