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.
Back
Top