Play specific unit animation

Grymlax

Probably not around
Reaction score
138
At the moment I'm doing a spell. in this spell i require the unit to play his Stand - 3 animation but I only manages to play either his ordinary stand or his rare. and becouse of the fact that he has 2 rare animations he doesn't allways play the animation I want.

I can also say that the animation model is the forest troll just to be more thorough with my explanition.

Any help is appreciated.
//Grymlax
 

NapaHero

Back from the dead...
Reaction score
43
In your spell select Art - Animation Names (The first bar that you can change) and click add string 2 times: |This as first>> stand |This as second>> three.

Should work.
 

Grymlax

Probably not around
Reaction score
138
okay i tried that but unfortunetley nothing happened. did i do right?

was this what you meant? or did i missunderstand?
strings:
stand
three

or was i supposed to put >> in the beginning either way nothing is happening.
 

Grymlax

Probably not around
Reaction score
138
bump

i really need to figure out a way to play this animation otherwise theres no point with finishing my ability
 

Grymlax

Probably not around
Reaction score
138
Art model = forest troll berserker, forest troll
Animation = Stand - 3
 

N2o)

Retired.
Reaction score
51
Here:
Code:
Spell
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to *Your Spell*
    Actions
        Custom script:   call SetUnitAnimationByIndex( GetTriggerUnit(), 2 )
A few things, it'll loop unless you add a wait + reset unit animation actions and it will be done as soon as you click the button, you may want to change event to: Unit - A unit Begins the effect of an ability so it is done as soon as the spell starts
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top