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

Detect autocast?

Status
Not open for further replies.
Try checking out the order issued by a unit and see if it matches with the order string of the autocast ability.

To get the order string, you'll need some debug functions.

This only detects the issued order:
  • Trigger
    • Debug Order
  • Event
    • Unit - A unit is issued an order
    • Unit - A unit is issued a point order
    • Unit - A unit is issued a target order
    • Unit - A unit is issued a unit order
  • Conditions
  • Actions
    • Custom Script - call BJDebugMsg("Issued order is " + OrderId(GetIssuedOrderId()))
    • Custom Script - call BJDebugMsg("Numerical value of issued order is " + I2S(GetIsssuedOrderId()))
 
Just use the berserk spell, it's instant.
Create two versions of it, "Run" and "Walk", when one of them is used, remove it and add the other version. Set both to same hotkey.

Easier for the player to use too, as they don't have to right click the spell in order to toggle movement.
 
Status
Not open for further replies.
Back
Top