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

[HELP] Detecting spell casted with auto cast

Status
Not open for further replies.
  • Testing
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Searing Arrows
    • Actions
      • Unit - Kill (Triggering unit)

it can't be use as event Unit-Start effect...

It can be done entirely by using Azlier's Autocast-Order Event and detecting if the attacking unit has more than 7 mana. For when it's used when autocast is turned off, it should then trigger the "starts effect of an ability" event.

"Event - A unit is attacked" is also spammable by repeatedly pressing "stop" so a quick timer or quick wait before re-firing the actions for that unit would be necessary.
 
Level 9
Joined
Aug 7, 2009
Messages
380
@defskull: It just work when you ordered that unit to cast that spell, not when it auto cast?
@Bribe: How about detect when the autocast is on and set that unit as variable? But could you show me the way that ... just the event and condition how the oder string to work?
 
Status
Not open for further replies.
Top