• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[Solved] [HELP] Play an unit's animation?

Status
Not open for further replies.
These additions work like variations or modifiers. You cannot specify them exactly. Stand - 2 belongs to the stand group. There is a Play Unit Animation With Rarity action, each animation is a rarity assigned, like the Footman drinks sometimes from his bottle, which is a stand animation but much more often executes the other stuff. Play With Rarity can favor "rare" or "often" animations within a group but that is kind of imprecise.

To properly make the unit play a certain animation, use the Jass function
JASS:
native SetUnitAnimationByIndex takes unit whichUnit, integer whichAnimation returns nothing
Animations have a numeric id, counting upwards, starting with 0. This id can be read out from the model. In case you are not familiar with modelling, may as well try the numbers out.
 
Status
Not open for further replies.
Back
Top