• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

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
299
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