Alright, so these triggers only work for red and no other players. How do I fix these triggers or is there an easier / better way.
So in the map initialization I have 18 different UNIT_TYPE variables set 1-8L then 9-18G. Afterwards the Income trigger which I typed out the lumber one, the gold one is exactly the same except changes
-
Initialization
-
Events
-
Map Initialization
-
Conditions
-
Actions
-
Set PlayerS[1] = red
-
Set IncomeUNIT_TYPE[1] = Tavern
-
Set IncomeMoney[1] = 125
-
Income
-
Events
-
Conditions
-
Actions
-
For each (Integer B) from 1 to 8, do (Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units of type IncomeUNIT_TYPE[(Integer B)] and do (Actions)
-
Loop - Actions
-
Player - Add IncomeMoney[(Integer B)] to (Owner of (Picked unit)) Current gold
-
-
-
-
-
For each (Integer B) from 9 to 18, do (Actions)
-
Loop - Actions
-
So in the map initialization I have 18 different UNIT_TYPE variables set 1-8L then 9-18G. Afterwards the Income trigger which I typed out the lumber one, the gold one is exactly the same except changes
-
For each (Integer B) from 9 to 18, do (Actions)