• 🏆 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!

[Spell] victory stand spell

Status
Not open for further replies.
Level 12
Joined
Feb 13, 2012
Messages
401
hello i want to use the victory stand animation for some spells but when i do it after the spell is dun the unit countinu to loop the victory stand is there some thing in the trigers to help with this ?
 

Uncle

Warcraft Moderator
Level 64
Joined
Aug 10, 2018
Messages
6,538
Hi, this trigger does the trick:
  • Example
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to YourAbility
    • Actions
      • Animation - Queue (Triggering unit)'s stand animation
You can make this single trigger work for multiple spells as well:
  • Example 2
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Ability being cast) Equal to YourAbility1
          • (Ability being cast) Equal to YourAbility2
          • (Ability being cast) Equal to YourAbility3
    • Actions
      • Animation - Queue (Triggering unit)'s stand animation
This queues up the "stand" animation so that it will play once the unit's previously played animation finishes.
 
Level 12
Joined
Feb 13, 2012
Messages
401
Hi, this trigger does the trick:
  • Example
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to YourAbility
    • Actions
      • Animation - Queue (Triggering unit)'s stand animation
You can make this work for multiple spells like so:
  • Example 2
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Ability being cast) Equal to YourAbility1
          • (Ability being cast) Equal to YourAbility2
          • (Ability being cast) Equal to YourAbility3
    • Actions
      • Animation - Queue (Triggering unit)'s stand animation
This queues up the "stand" animation so that it will play once the unit's previously played animation finishes.
thx man this really helps :)
 
Status
Not open for further replies.
Top