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!
You can order the unit to activate/deactivate autocast. The function will return whether it is succesful or not.
If you have autocasting enabled, the order to enable it will fail. If you have it deactivated, the order to disable it will fail.
Using this method you can detect, whether autocast is active or not. You will have to revert the autocast, if your order changed it.
Detecting orders is not safe, because orders can be issued while the unit is paused (e.g. stunned) but won't be executed if you issue another order before the pause effect runs out.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.