ok guys that doesnt have ANYTHING to do with the farm... All you are doing is selecting units, then giving gold. You have to set a variable to the number of units type of farm owned by player 1 that are alive, then multiply that by the income per farm (in this case 1 so dont multiply) then you have to set player 1 gold to player 1 current gold plus the variable you just made.
Heres the trigger:
If you created upgraded farms that provided additional income (and food) you can change the (Farms x 1) to (Farms x 2) or 3 or whatever. I just put the x 1 there cuz if the farm gives anything but 1 income you need it, but if ur only doin 1 income you dont. You will have to make this for each player too (in same trigger just copy the actions and change player 1 to player 2, etc)
- Actions
- Set Farms = (Number of living Farm units owned by Player 1 (Red))
- Player - Set Player 1 (Red) Current gold to ((Farms x 1) + (Player 1 (Red) Current gold))
See? I'm rightWell idk i read a post on income like this before and it said to do it the long way with variables. Yeah i just tried the way you said and it works O.O ...so much time wasted.... lol