• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Help with animations

Status
Not open for further replies.
Level 5
Joined
Oct 2, 2013
Messages
95
Simply put, I want to play a unit's animation while its moved by SetUnitX/Y. Im using SetUnitAnimationByIndex(), but its not working.

My spell is a backflip, so when the caster uses it it performs a backflip, moving backwards a lil bit. Im using the troll warlord model, so the flip animation index is 2. However, the animation does not play at all during the "slide" ( or, while the unit is moving ) - It only plays after the slide ends. It seems as stand animation variants cannot be played while the unit is moving.

I have tried pausing the unit, it does not work.

Any ideas?
 
Status
Not open for further replies.
Top