• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Animation - Play Stand X

Status
Not open for further replies.
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.
 
If you know JASS, it can be done perfectly without importing an extra model that takes up too much space, by using the SetUnitAnimationByIndex native.

If you don't, try to learn it, at least a bit.
 
JASS:
call SetUnitAnimationByIndex(unit, index)

'unit' is obviously the unit it shall affect.

'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.
 
Status
Not open for further replies.
Back
Top