I want to know if it's possible to play variation of unit's animation like "Stand - 3", "Attack - 2" ... i tried write in value : "Stand - 3", "Stand-3",Stand - 3,Stand-3 ... but it doesn't work. How to do it ?
Alot of people will tell you to look at the window of the unit, and it shows (saying stand X tells me you already did that) but those names don't corispond to teh animation names using the triggers! So much for the help based on the casual observation. I have found two ways to do this. One is to edit the model file, which i have no idea what program you need. The other is to make a trigger that plays teh animation you type in the chat message and guess. Alot of times it will be "stand one" when it says "stand - 1" on the window. So try both, stand - 1, stand one, stand two, stand 2, stand 1, stand second, stand first, eventually you might get it. Hoplfully that helps, but it is rather annoying.
'index' is an integer number from 0 - (number of anims unit has-1). Each animation has it's own number, change it till you find the right animation.
Waldbaer
#7
If you don't want to try you can also open the model in wc3viewer and count which animation you want beginning with 0 at the top animation. Of course that's only helpful if you have this nice little application. [/url]