• 🏆 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!

Animation problem?

Status
Not open for further replies.
Level 15
Joined
Oct 16, 2010
Messages
941
Looks like he uses animations index (god knows why).

JASS:
call SetUnitAnimationByIndex(u,animation[i])

IMO you should just change all these code lines to SetUnitAnimation(u, "walk"). I don't even know how his system is supposed to work since "i" is referring to the player and not an animation (maybe I missed something).
 
Status
Not open for further replies.
Top