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

Trigger Request: Very Simple

Status
Not open for further replies.
Level 37
Joined
Mar 6, 2006
Messages
9,240
  • Check Townhalls
    • Events
      • Unit - A unit Begins construction
    • Conditions
      • Townhalls[(Player number of (Owner of (Triggering unit)))] Not equal to True
      • Or - Any (Conditions) are true
        • Conditions
          • (Unit-type of (Triggering unit)) Equal to Town Hall
          • (Unit-type of (Triggering unit)) Equal to Great Hall
    • Actions
      • Set Townhalls[(Player number of (Owner of (Triggering unit)))] = True
      • Wait 0.00 seconds
      • Unit - Set (Triggering unit) construction progress to 50%
Townhalls is a boolean array.

There's also boolean
  • ((Triggering unit) is A town-hall-type unit) Equal to True
you could use that instead of unit types.
 
Status
Not open for further replies.
Top