• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Making a unit unable to move

Status
Not open for further replies.
Level 3
Joined
Aug 20, 2010
Messages
71
I have been working on a spell and at the beginning of it i am making the caster invulnerable and i want him to be unable to move for the duration of the spell. i have tried to ensnare, entangle and web the unit with a dummy but it doesn't seem to work. also i would prefer that the unit remains unpaused for the duration of the spell for the obvious buff duration reasons
 
Create a tornado slow aura dummy ability with the desired movement reduction (100% percent), create a spellbook to store it and hide the spellbook via trigger, add the spellbook with the tornado slow aura dummy ability to the desired target, wait the desired time or trigger when it wears off, afterwards remove the spellbook and remove the buff.
 
forgot to mention that i would prefer the minimum movementspeed to be higher than 0 (100 or so) unless if it is possible to trigger the ms so that it remains higher than 100 in every other situation (havent checked that )
 
Use SetUnitPropWindow( unit, 0)

You might want to use GetUnitPropWindow(unit) before to be able to reset it to its original value.
 
i last question that it just came to me: are there any abilities that can change the unit prop window? (asking because i want to test how they would interact with these commands)
 
Status
Not open for further replies.
Back
Top