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

[General] How can i play one specific animation if more has the same name?

Status
Not open for further replies.
Level 2
Joined
May 14, 2019
Messages
19
Hi guys!

Trying to make some wound animations for a character, I'm using the model Kuro (Archer mode) here and wanna do her Spell - 3 animations.
My problem is, everytime i try to use that specific animations with Life triggers, it plays all 3 spell animations not just the one i'm looking for.

I want to use the specific "Spell 3" animation not all of them.

Any ideas? :D
 

Attachments

  • aa.png
    aa.png
    3.8 MB · Views: 22
Level 30
Joined
Feb 18, 2014
Messages
3,623
Try this instead :
  • Trigger
    • Events
    • Conditions
    • Actions
      • Set BeastKnight = (Triggering unit)
      • Custom script: call SetUnitAnimationByIndex (udg_BeastKnight,0)
Replace 0 with a different number until you find the correct animation (Spell - 3)
 
Level 2
Joined
May 14, 2019
Messages
19
Try this instead :
  • Trigger
    • Events
    • Conditions
    • Actions
      • Set BeastKnight = (Triggering unit)
      • Custom script: call SetUnitAnimationByIndex (udg_BeastKnight,0)
Replace 0 with a different number until you find the correct animation (Spell - 3)
Omg. Thanks! Been looking for this for a while now! Thank you so much :3

Animation numbers are interpreted as variations. You need to rename the anims to Spell First, Spell Second, and Spell Third, to be able to play them individually.
Hmmm. Can i change the name of animations in the editor?

Thanks for the fast repplies, both of you!! :D
 
Status
Not open for further replies.
Top