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

Alternative Animations

Status
Not open for further replies.
Level 14
Joined
Apr 20, 2009
Messages
1,543
You can use:
  • Custom Script: call SetUnitAnimationByIndex(unit,integer)
where unit is a local unit variable (you can also use udg_yourGUIvariable)
and where integer is the index of the animation.

A simple check to see which index each animation has can be done by looping this function call through the integer (index).

Another way of showing the alternative of an animation is by using:
  • Animation - Play Unit Animation (Specify Rarity)
Even though it's old here is a tutorial on animations:
using animations
 
Status
Not open for further replies.
Top