Trigger Request: Very Simple

Status
Not open for further replies.
  • 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.
Back
Top