• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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: 18
Level 28
Joined
Feb 18, 2014
Messages
3,580
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