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

Towers only attack units in a region.

Status
Not open for further replies.
Level 12
Joined
Feb 5, 2018
Messages
521
  • X
    • Events
      • Unit - A unit Is attacked
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (YourRegion <gen> contains (Triggering unit)) Equal to True
        • Then - Actions
          • Skip remaining actions
        • Else - Actions
          • Unit - Interrupt (Attacking unit)'s Attack
          • Unit - Order (Attacking unit) to Stop.
This is not optimal, but should do the trick for now.
 
Status
Not open for further replies.
Top