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

Detecting whether a unit is still casting or not

Status
Not open for further replies.
Level 2
Joined
Apr 28, 2004
Messages
17
Hi I made a charge spell so if you wait it gets stronger, but I want to know if you can actually detect whether the triggering unit is still channeling the spell or not. I haven't been able to find it, but maybe you know it. Thanks in advance.

Meneersleutel
 
Level 11
Joined
Jul 20, 2004
Messages
2,760
Actually, there is a simpler method, but it involves three triggers.

Check my spells tutorial (it is stickied here) at the channeling chapter. Read the chapter, especially the coding. Here you will need in the second step to keep the strength of the spell in a variable, and increase it with each repeat of the trigger. It's much safer than orders.

~Daelin
 
Status
Not open for further replies.
Top