If you have more than one kind of building that adds income, just add to unit group. make an if/then/else for each kind of building, and set the gold acquired for each kind :x
Example:
This alteration of the previous trigger adds both 1337 gold for each alter of kings a player has, and also adds over 9000 gold for each scout tower they have
Trigger:
Untitled Trigger 002
Events
Time - Every 60.00 seconds of game time
Conditions
Actions
Do Multiple ActionsFor each (Integer A) from 1 to 12, do (Actions)
Loop - Actions
Set tempunitgroup = (Units owned by (Player((Integer A))) matching (((Matching unit) is A structure) Equal to (==) True))
Unit Group - Pick every unit in tempunitgroup and do (Actions)
Loop - Actions
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Picked unit)) Equal to (==) Altar of Kings
Then - Actions
Player - Add 1337 to (Player((Integer A))) Current gold
Else - Actions
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Picked unit)) Equal to (==) Scout Tower
Then - Actions
Player - Add 9001 to (Player((Integer A))) Current gold
I'm on a page about incorrect corrections, and spent the better part of like two hours trying to get someone to understand that -5^2 = -25, not 25, and then that post had comments get reposted because that group is self sustaining, and that person was in turn trying to explain what I just explained to them. And I'm taking that as a victory
I will be AFK for a couple of days you guys hold down the fort while I am gone. I will be checking in on my phone but that will severly limit me. Be back saturday!