• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Something to detect these?

Status
Not open for further replies.
Turning an autocast spell on/off can be detected by using:

  • Events
    • Unit - a unit is issued a no-target order
  • Conditions
    • Order - issued order equal to order(bloodluston)
  • Actions
    • Game - display message: Bloodlust is turned on
bloodlustoff is the order string of turning bloodlust autocast off. It's similar for other autocast abilities, such as healon or healoff. You can check them in the object editor (order string - turn off, or something similar to that).

The smart order is given whenever a unit rightclicks something. Whenever that happens, a unit will do whatever is more smart: attacking an enemy unit (right click enemy), move to the rightclicked location, repair a structure, etc.
 
The only way to detect chain lightning targets would be to make your own triggered chain lightning spell.

Or you could try using game cache to store healths, then compare those that are different after the spell was cast, but that probably won't work.
 
Status
Not open for further replies.
Back
Top