Untitled Trigger 001
Events
Time - Every 60.00 seconds of game time
Conditions
Actions
For each (Integer A) from 1 to 10, do (Actions)
Loop - Actions
Set Unit_Group[(Integer A)] = (Units owned by (Player((Integer A))) of type House)
Set Temp_Int[(Integer A)] = (Number of units in Unit_Group[(Integer A)])
Player - Add (25 x Temp_Int[(Integer A)]) to (Player((Integer A))) Current gold
Yeah...this thread is against the rules...Here's the deal. You may ask more than one question in a single thread. But DO NOT ADD MORE QUESTIONS LATER! I.E. no more "User's Question Thread". They are unwieldy and very hard to follow. Start a new thread when you have new questions.
Code:Untitled Trigger 001 Events Time - Every 60.00 seconds of game time Conditions Actions For each (Integer A) from 1 to 10, do (Actions) Loop - Actions Set Unit_Group[(Integer A)] = (Units owned by (Player((Integer A))) of type House) Set Temp_Int[(Integer A)] = (Number of units in Unit_Group[(Integer A)]) Player - Add (25 x Temp_Int[(Integer A)]) to (Player((Integer A))) Current gold
that should work for all players now. Change the 10 to the amount of players who will receive income.
Income
Events
Time - Every 60.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in (Entire map)) and do (If ((Unit-type of (Picked unit)) Equal to House) then do (Player - Add 45 to (Owner of (Picked unit)) Current gold) else do (Do nothing))
AHAHHHA!!! I LOVE YOU!! IT WORKS Thanks, thanks THANKS :]