Hi guys, I'm new at using variables at my map, but I really want to learn how to use them perfectly and the first thing is this:
I'm trying to make "income" if you know what I mean, a periodic event that gives you money every 10 second and you'll be able to raise your income. For example, the income will be raised when you type "-income" in game.
I've tried to fix it by myself without help, but I don't really understand everything. I've done like this:
I made an Intreger variable (Do I need array, and what is array?) and I called it Income.
What is the action to "raise" the variable Income, or how do I do it? I don't really get it. If everything is wrong, tell me what I should do instead please.
I'm already waiting for an answer
I'm trying to make "income" if you know what I mean, a periodic event that gives you money every 10 second and you'll be able to raise your income. For example, the income will be raised when you type "-income" in game.
I've tried to fix it by myself without help, but I don't really understand everything. I've done like this:
I made an Intreger variable (Do I need array, and what is array?) and I called it Income.
Income
Events
Time - Every 10.00 seconds of game time
Conditions
Actions
Player - Add Income to Player 1 (Red) Current gold
What is the action to "raise" the variable Income, or how do I do it? I don't really get it. If everything is wrong, tell me what I should do instead please.
I'm already waiting for an answer