HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Wait for Animation

06-23-2005, 09:28 PM#1
Tim.
Is there a function to wait for a unit's animation to complete? I know I could make a dummy ability to cause the animation, but I would prefer to do it via triggers in this instance.
06-23-2005, 11:19 PM#2
Guest
the only way i can think of is find out how long the animation goes for (it shows it just above the unit pic when your looking through its animations) and tell triggers to "wait" for whoever long the aniimation goes for.
06-24-2005, 11:03 AM#3
EdwardSwolenToe
Yeah basically the only way for this to be done would be to find the exact length of the animation and then use a polled wait.
06-26-2005, 09:20 AM#4
Tim.
Hmmm. Alright, in that case I made an ability that uses the correct animation. The only issue I now have is when I use the ability while moving, the animation only barely plays. Is there a way to make it so that it plays the correct animation but doesnt cancel the movement or the movemnt animation?
06-26-2005, 12:00 PM#5
EdwardSwolenToe
i remember in azeroth grand prix, there was a jass function that forced a unit to play an animation regardless of whatever its doing. I would suggest you use that trigger, maybe do a serch for it, something like set animation index