• 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 ownership {giving ownership of an income building when entering a region}

Status
Not open for further replies.
Level 10
Joined
Jul 31, 2008
Messages
477
How do i make a trigger that does: Unit enters region. give ownership of a building next to the region and make an income of 10g every 90 sec?

If the building is already there you could just make it like this.

  • Events
    • Unit - unit enters region
  • Actions
    • Unit - Change owner of (for example) Farm 0001 to (owner of (entering unit) and change colour.
 
Level 5
Joined
Mar 25, 2008
Messages
150
No problems. Just tell me if you need help with something else ;)

Well do you know how to make a trigger that does
  • Actions
    • Unit - Change ownership of Dwarven Castle 0004 <gen> to (Owner of (Triggering unit)) and Change color
    • Unit - Change ownership of Guard Tower 0036 <gen> to (Owner of (Triggering unit)) and Change color
    • Unit - Change ownership of Guard Tower 0037 <gen> to (Owner of (Triggering unit)) and Change color
    • Unit - Change ownership of Dwarven Tower 0034 <gen> to (Owner of (Triggering unit)) and Change color
    • Unit - Change ownership of Dwarven Tower 0035 <gen> to (Owner of (Triggering unit)) and Change color
That i want the event to be is that a player buys the place like in war of the lost kingdoms but how
 
Status
Not open for further replies.
Top