I have a question about unit animations.
Currently, I have:
However, my problem is that the unit still shows the cast animation on casting the spell in which this Jass code has been extracted. I tried to cancel this cast animation by using the "call SetUnitAnimation(ld.caster, "stand")", but that did not work (I hadn't really thought it would, just hoped).
My question then, I suppose, is how would I go about canceling the cast animation and going immediately to the animation I desire (animation index of 3 as shown above)?
Thanks for any help in advance!
Currently, I have:
JASS:
// set to the beastmaster attack animation
call SetUnitAnimation(ld.caster, "stand")
call SetUnitTimeScale(ld.caster, 0.25)
call SetUnitAnimationByIndex(ld.caster, 3)
My question then, I suppose, is how would I go about canceling the cast animation and going immediately to the animation I desire (animation index of 3 as shown above)?
Thanks for any help in advance!