• 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.

Periodic Gold Income

Status
Not open for further replies.
Level 12
Joined
Feb 1, 2007
Messages
1,092
Ok I am using a new thing for gold and changong it so its power for buildings. I have my "Power Plant" buildings which without triggers do nothing but sit and look pretty. I can't figure out how to add gold like every X seconds when I get a power plant. Ok nvm I know that, thats not really what I need. How do I make it stackable? So like if I have 5 power plants, I get the gold times fives every interval. I really have no clue where to start this so help me please. If you need an example, the Gold Mines on Vampirism Ice are like exactly what I'm looking for.

P.S. I did use the Super Secret Search System, I could only find stuff about how to do one income.
 
Level 6
Joined
Oct 22, 2006
Messages
184
Here hope this helps
Event:
Every X seconds of game time
Conditions:
(Number of living Bank units owned by Player 1(Red)) Equal to 1
Actions:
Player- Add X to (Picked Player) Current Gold

And if you want to change how often you get the gold change the number in the event. Hope this works and the X represents your desired amount and maybe if u want stacking try changing the interger trigger to 5 or something
 
Status
Not open for further replies.
Top