• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 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!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

Stop Casting A Channeling Spell When Stunned/Canceled

Not open for further replies.
Level 8
Dec 16, 2007
The title says it all. The only thing I know how to do this is the Condition. If you don't understand let me explain what I need help with.
If I use a channel spell made in GUI and I want that the hero who casted this spell will cancel the channel if his stunned or if he cancel the spell by walking away (or something). Of course I know that this can be different to different spells, but if you know a tutorial or you could at least explain the basics, please tell me.

But for example if I got a simple spell like this, how do I make a trigger that cancels it? (It's just an example!!!!!!!!)

Unit - A unit Starts the effect of an ability
(Ability being cast) Equal to AoE_Spell
Turn on AoE_Spell_Effect
Set AoE_SpellCaster = Castin Unit
Wait 6 seconds
Turn off AoE_Spell_Effect

Time - Every 1.00 seconds of game time
Special Effect - Create a special effect at (Random point in (Region centered at (Position of (AoE_SpellCaster)) with size (800.00, 800.00))) using Abilities\Spells\Human\ThunderClap\ThunderClap.mdl
Unit - Cause (AoE_SpellCaster) to damage circular area after 0.00 seconds of radius 800.00 at (Position of (AoE_SpellCaster)), dealing 100.00 damage of attack type Spells and damage type Normal
Level 19
Aug 24, 2007
next time [trigger][/trigger] please

Unit Stops Casting Ability
Turn off AoE damage trigger
Not open for further replies.