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