How to disable auto-cast?

Status
Not open for further replies.
The second one :)
You can make it semi-permanent, detecting when it is set to healon (to autocast):
  • Trigger
  • Events
    • Unit - A unit is issued an order with no target
  • Conditions
    • (Issued order) Equal to (order(healon))
  • Actions
    • Custom script: call IssueImmediateOrder (GetTriggerUnit(), "healoff")
This will never allow the unit to autocast the heal ability, because you disable the autocast, whenever it becomes enabled.
 
Status
Not open for further replies.
Top