- Joined
- Apr 24, 2012
- Messages
- 9,797
How to play spell anim while walking and casting a non-interrupting ability?
IssueImmediateOrderById
makes a new order.call SetUnitAnimationByIndex(whichUnit, whichIndex)
call SetUnitAnimationByIndex(udg_Caster, 2)
I know, but I can't (or rather don't want to) use SetUnitX/Y to emulate walking.Both of those function is native to JASS, it is not a custom movement system.
I see, thanks.If you use "PlayUnitAnimation", the unit makes it once.
If you use "SetUnitAnimationByIndex", the unit makes it until it plays a new animation.