• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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