Yes, I do this all the time. What I do is make the value of the variable the same as the animation name, then you can make an event like this:
On Q pressed set player var_animation to "animationname"
(whatever trigger you like) set player animation to player.var_animation
or
If player var_animation="walkleft" set animation to player.var_animation
Hehe hey, this is so good to hear!! But i dont quite understand what u mean.
When character jump, depending on item equipped, a different animation plays (on the effect)
So as far as i understand it, the Variable has to be the same name as the effect right?
So ability name: BootsFX
Global Variable name: BootsFX
If player equips Boot 2 -> Set BoostFX (Variable) to 2.
If player equips Boot 5 -> Set BoostFX (Variable) to 5.
When HeroX performs ''jump'' - Set animation to BoostFX? The variable that is?
(If the boots equipped is Boot 2 (BoostFx2) - If i play the Animation in Variable, will it be BoostFx2 Effect??