• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Solved] Triggering animation for spell

Status
Not open for further replies.
Level 12
Joined
Jul 5, 2014
Messages
556
I'm trying to create a spell animation for a bandit-type hero (since bandits don't have casting animation) but it persistently defies me. Is something wrong with the trigger or it's just bugged?

  • Assa animation
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Unit-type of (Casting unit)) Equal to Assassin
      • (Ability being cast) Equal to Grenade (assa)
    • Actions
      • Animation - Play (Casting unit)'s attack animation
 
Id just add to the spells Art - Animation names: Attack
This will cause the bandit to do the attack animation when casting the spell.

I dont think your trigger is bugged but you may have to do it with a different timing/in a different way. I used animations a lot with triggers before. I did it this way though.
  • Lava Creature Nourishment
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Nourishment (Lava Creature)
    • Actions
      • Animation - Play (Triggering unit)'s morph alternate animation
      • Animation - Queue (Triggering unit)'s stand animation
 
Id just add to the spells Art - Animation names: Attack
This will cause the bandit to do the attack animation when casting the spell.

I dont think your trigger is bugged but you may have to do it with a different timing/in a different way. I used animations a lot with triggers before. I did it this way though.
  • Lava Creature Nourishment
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Nourishment (Lava Creature)
    • Actions
      • Animation - Play (Triggering unit)'s morph alternate animation
      • Animation - Queue (Triggering unit)'s stand animation


Thanks, man, simply adding the attack to art animation fixed the issue nicely.
 
Status
Not open for further replies.
Back
Top