I was wondering how I would go about a system where you receive an additional 200 minerals to your income for each city you capture. Example; you have a 30 second timer before you receive your income. You start off with one city. That means you have 200 minerals to start off for your income. Then you go and capture another city. Now, every 30 seconds, you have 400 income. I dont know how I would go about this, please help?
EDIT: I also have an idea of putting the Automated Vespene gathering behavior onto it and change it to minerals. What do you think?
Timer
Events
Game - Map initialization
Local Variables
Conditions
Actions
Timer - Start Timer as a Repeating timer that will expire in 60.0 Game Time seconds
Timer - Set timer for (Last created timer window) to (Last started timer)
Timer - Show (Last created timer window) for (All players)
Timer - Create a timer window for (Last started timer), with the title "Game Time:", using Remaining time (initially Visible)
this is a timer trigger that works :P. just change the 60.0 game time seconds to how ever long you want it to be.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I was wondering how I would go about a system where you receive an additional 200 minerals to your income for each city you capture. Example; you have a 30 second timer before you receive your income. You start off with one city. That means you have 200 minerals to start off for your income. Then you go and capture another city. Now, every 30 seconds, you have 400 income. I dont know how I would go about this, please help?
EDIT: I also have an idea of putting the Automated Vespene gathering behavior onto it and change it to minerals. What do you think?
Infinite duration behavior with a 30 second period and a periodic "Modify Player" effect that adds 200 minerals sounds like a good solution.
Add the structure to a unit group and add minerals equal to 200*# of units in unit group after the timer expires.
@Pandywarrior:
Timer
Events
Game - Map initialization
Local Variables
Conditions
Actions
Timer - Start Timer as a Repeating timer that will expire in 60.0 Game Time seconds
Timer - Set timer for (Last created timer window) to (Last started timer)
Timer - Show (Last created timer window) for (All players)
Timer - Create a timer window for (Last started timer), with the title "Game Time:", using Remaining time (initially Visible)
this is a timer trigger that works :P. just change the 60.0 game time seconds to how ever long you want it to be.