• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Capture buildings...and shit

Status
Not open for further replies.
Level 6
Joined
Mar 27, 2009
Messages
245
So my strategy map's income system is based on that Town Hall-categorized buildings make income every 60.00 seconds, so i have made many neutral cities and towns around the world to conquer. So i need a trigger that when the building's life goes beneath 200, it changes colour and team in to the attacking guy's team.
Thanks.
 
Level 7
Joined
Sep 5, 2006
Messages
333
  • Untitled Trigger 001
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Life of (Attacked unit)) Less than or equal to 200.00
      • ((Attacked unit) is A town-hall-type unit) Equal to True
    • Actions
      • Unit - Change ownership of (Attacked unit) to (Owner of (Attacking unit)) and Change color
Edit: Opps, didn't notice doom sheep.
 
Status
Not open for further replies.
Top