• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Preventing Animation Cancel on a spell

Status
Not open for further replies.
Level 3
Joined
Oct 6, 2007
Messages
43
Well, I have a spell, which detects when a hero uses a dummy spell based on windwalk and then plays the hero's spin animation (bladestorm) and damages the area around it. The problem is, that you can't even see the bladestorm effect, if the player controlling the hero spams rightclick (move) command, due to the move command cancelling the animation immediately, any way to fix this?

I tried to pause the unit for 0.2 seconds (time of bladestorm).
 
Level 13
Joined
Jun 23, 2009
Messages
300
Pause it, make it play the animation, then unpause it until the spell ends + 0.5 or 0.75 seconds.

I seem to have coded something similar this way, if not, I'd have to check that trigger :/

(There's another solution involving the locust ability, but after the spell the unit won't be the same anymore :eekani:)
 
Status
Not open for further replies.
Top