• 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 faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Animation Queue - JASS line

Status
Not open for further replies.
This would be the native for queueing animations:
JASS:
native          QueueUnitAnimation          takes unit whichUnit, string whichAnimation returns nothing
Ex:
JASS:
call QueueUnitAnimation(udg_MyUnit, "attack")

However, there is not a native to queue animations by index. You have to use the name of the animation (string).
 
If I use the name ''Spell 7'' will it queue Spell 7 or a random animation with Spell tag?

I am asking this for the same reason I started the thread. I have a model with about 150 animations and I named half of them ''Spell X'' with X being a number from 1 to 70. I can't use Play unit animation or Queue unit animation, so I have to resort to JASS.
 
Status
Not open for further replies.
Top