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

blademaster walk animation

Status
Not open for further replies.
Level 7
Joined
Mar 24, 2008
Messages
184
I have a trigger where i have to play the blademaster's Slam animation and enqueue the walk animation so it'll be played as soon as the slam animation ends (can't do with waits because it's in a timer), but writing QueueUnitAnimation(unit, "Walk") doesn't work (neither SetUnitAnimation(unit, "Walk") works...). So, while i know there's a "setunitanimationbyindex" function, it doesn't seem to exist a "Queueunitanimationbyindex" function but only the one with the animation name as parameter.
What am i doing wrong?
 
Level 7
Joined
Mar 24, 2008
Messages
184
Ah crap, didn't know that, but SetUnitAnimationByIndex works, i just had to discover the index of the Blademaster's walk animation (6). The problem is that now i have to enqueue an animation after the slam animation is played (and can't do with TriggerSleepAction because it's in a trigger that starts with a periodic timer). How to do that?
 
Status
Not open for further replies.
Top