You'll need to use triggers.
Hope that helps.Code:Untitled Trigger 002 Events Time - Every 20.00 seconds of game time Conditions Actions Player - Add 50 to Player 1 (Red) Current gold Player - Add 19 to Player 1 (Red) Current lumber
Doh!You'll need to use triggers.
Doh!
You'll probably want to use a timer window.aydy said:how do i do so there comes up a counter "Next incom in:... seconds" ?
Untitled Trigger 001
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Countdown Timer - Start TimerVariable as a Repeating timer that will expire in 30.00 seconds
Countdown Timer - Create a timer window for (Last started timer) with title Next income in:
Countdown Timer - Change the color of the title for (Last created timer window) to (100.00%, 0.00%, 0.00%) with 0.00% transparency
Well I didn't know if he was a completely new mapmaker or not
Ya never know.
You'll probably want to use a timer window.
Code:Untitled Trigger 001 Events Time - Elapsed game time is 1.00 seconds Conditions Actions Countdown Timer - Start TimerVariable as a Repeating timer that will expire in 30.00 seconds Countdown Timer - Create a timer window for (Last started timer) with title Next income in: Countdown Timer - Change the color of the title for (Last created timer window) to (100.00%, 0.00%, 0.00%) with 0.00% transparency
Note that this trigger can NOT be started at map initialization.
TimerVariable is a variable. Do you know how to create them?
Changing the color of the title is not mandatory. It just adds a bit of class.
This has been tested, because I was not sure if it would work. It should work, if you do it right.
If you do not want it to repeat every time the timer ends, then set the timer as a one-shot timer. I think you want it to repeat, though, since it's for income.
Countdown Timer - Start TimerVariable as a Repeating timer that will expire in 30.00 seconds
No problem.
The reason it's doing that is that you set the variable to an Array. Delete your variable.
What you want to do is go to the variable editor, create a new variable called TimerVariable. It will be a Timer type variable. Once this is done, do not click anything else in the new variable window, just accept.
Now use this variable in your trigger, and set it to:
Hope that helps.Code:Countdown Timer - Start TimerVariable as a Repeating timer that will expire in 30.00 seconds
For future reference; it's a good idea to keep all your questions in one thread. That way you don't clump up the WE Help Zone with lots of threads, and you only have to go to one place.
I think Chocobo already answered that thread?