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

[Trigger] A curious question...

Status
Not open for further replies.
Level 9
Joined
Jun 7, 2008
Messages
440
I have a spell which is based off of tranquility, (which i just thought to add a negative gain instead) when i came upon a problem, How do i check if a unit is still channeling? Since i already am going to go with the negative gain, its not a problem really. But curiousity makes me want to ask. Say if a person casts an interupt spell, how would a trigger enhanced spell check to see if the unit is still channeling ?
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
That takes more computing power. Then again I am very tight when it comes to saving every bit of RAM even though WarCraft 3 is an old enough game to not have to worry about computers being able to run it flawlessly.
The only games which would be helped by that sort of speed whoring tend to be the same types which would need Deaod's approach for other reasons (for example, you need to code a periodic effect for the spell as well).
 
Status
Not open for further replies.
Top