• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[JASS] Immobilizing a unit

Status
Not open for further replies.
Level 4
Joined
Jun 8, 2007
Messages
89
Hi, so I have been trying to spawn a unit using a trigger, and then immobilize the unit until a specified time, but have been having some trouble.
I have tried setting move speed to 0, but there seems to be some sort of minimum value. Does anyone have any ideas?

Thanks
 
Level 4
Joined
Jun 8, 2007
Messages
89
in the Advanced --> Gameplay constants tab,

Unit - minimum speed

make it negative, so that speed bonuses do not interfere when you set movement speed to -200 or so.

Bah, I should have thought of that. Dumb dumb dumb.
Ill have to do that when I get back to my WE. Thanks. :thumbs_up:
 
Status
Not open for further replies.
Top