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

Play unit animation problem

Status
Not open for further replies.
Level 3
Joined
Jul 18, 2008
Messages
42
I've only been working with the editor for a few days, so this might be an easily fixed problem but... I'm making a trigger that when a skill is cast on a target, the casting unit goes into unit animation. So I did

Animation - Play (Triggering unit)'s spell 2 animation.

When it works it looks great, but it really only works some of the time. The reason is that the triggering unit that has the skill has 3 spell animations, and so it only does the one i want 1/3 of the time.

So my question is, is there a way to make it so it only plays that certain animation? Or possibly just deactivate all the others. because I don't really need them.
 
Level 3
Joined
Jul 18, 2008
Messages
42
well that doesn't help with the problem of getting rid of the other animations, i just want it to show the one spell for the animation. Best case scenario for that is it plays the animation 3x.
 
Level 3
Joined
Jul 18, 2008
Messages
42
is there a way of doing that other than making it a variable? I tried making it into a variable and it worked sometimes, but not 100% of the time.
 
Like this wor
 

Attachments

  • This.jpg
    This.jpg
    156.5 KB · Views: 134
Level 3
Joined
Jul 18, 2008
Messages
42
Ok so I can put a unit animation for the skill and that'll make it work? I'm editing this because I said "thats too hard to see" but I put it into paint and zoomed in and I could so nvm...
 
Last edited:
Level 3
Joined
Jul 18, 2008
Messages
42
lotus flying
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Hidden Lotus (Lee)
Actions
Unit - Create 1 flying lee 3 for (Triggering player) at (Position of (Triggering unit)) facing (Target point of ability being cast)
Animation - Queue (Last created unit)'s spell 2 animation
Animation - Play (Last created unit)'s spell 2 animation




Thats basically what i've been messing around with. The que animation is something I just put in there as one of my attempts to make it work. I've tried it without it also.
 
Status
Not open for further replies.
Top