• 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.

Animation - Play Stand X

Status
Not open for further replies.
Level 2
Joined
Jul 5, 2005
Messages
19
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.
 
Level 7
Joined
May 6, 2005
Messages
390
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.
 
Level 7
Joined
May 6, 2005
Messages
390
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.
Top