[Solved] Triggering animation for spell

Status
Not open for further replies.
Level 12
Joined
Jul 5, 2014
Messages
551
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
 
Level 24
Joined
Feb 27, 2019
Messages
833
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
 
Level 12
Joined
Jul 5, 2014
Messages
551
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.
Top