- Joined
- Jul 13, 2006
- Messages
- 140
So, I am pretty sure that this trigger is free of leaks (but please say if it does actually leak), but, is there a way to make it easier, faster and less of a pain to make? Because It's supposed to be for all players and about 9 different objects in total for each player that is supposed to give money.
-
income
-
Events
-
Time - Every 60.00 seconds of game time
-
-
Conditions
-
Actions
-
Sound - Play GoodJob <gen>
-
Set TempGroup = (Units owned by Player 1 (Red) matching ((((Matching unit) is alive) Equal to True) and ((Unit-type of (Matching unit)) Equal to Territory)))
-
Player - Add (Number of units in TempGroup) to Player 1 (Red) Current gold
-
Custom script: call DestroyGroup(udg_TempGroup)
-
Set TempGroup = (Units owned by Player 1 (Red) matching ((((Matching unit) is alive) Equal to True) and ((Unit-type of (Matching unit)) Equal to Factory)))
-
Player - Add (Number of units in TempGroup) to Player 1 (Red) Current gold
-
Custom script: call DestroyGroup(udg_TempGroup)
-
-