• 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.

How can I interrupt channeling ? (based off channel ability)

Status
Not open for further replies.
Level 11
Joined
Oct 9, 2015
Messages
721
It is set to true by default, I wasn't aware of this function, but I need it to disable other abilities, I'm doing an "bandage" ability to heal the target, and the target can't do anything while bandaging self or other units, and I need it to take 3 seconds to complete it, BUT if the unit is already full health then I want the channel to be interrupted and an error message will appear saying the unit has already full life. My problem is beign able to stop the channeling if the unit has full health, I have all conditions done but I can't cancel the channel :(
PS: Thanks everyone for the help!
 

Rheiko

Spell Reviewer
Level 27
Joined
Aug 27, 2013
Messages
4,229
You will probably need two abilities then. One is for your unit to cast and the other one is for the channeling/pause part.
As for the channeling part, do as TriggerHappy said in your other thread.

Give your unit the channel ability with base order ID defend, order your unit to cast it when you cast your ability.
Remove it after 3 seconds or when your unit has full health.
 
Status
Not open for further replies.
Top