• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Autocast Detection

Status
Not open for further replies.
Level 9
Joined
May 21, 2014
Messages
580
  • Order Checker
    • Events
      • Unit - A unit Is issued an order with no target
    • Conditions
    • Actions
      • Game - Display to PlayerGroupUser the text: (String((Issued order)))
Use this to check what is the needed order string for your autocast spell.
Though an easier alternative to check is to check in Object Editor and look for Text - Order String - Activate/Turn On field.

Then... For example if my spell is Repair, and I want to detect if I autocasted it...
  • Detect Autocast
    • Events
      • Unit - A unit Is issued an order with no target
    • Conditions
      • (Issued Order) equal to repairon
    • Actions
      • Do Actions Here...
repairon is the Order string of autocasting Repair.
 
Status
Not open for further replies.
Top