- Joined
- Sep 19, 2012
- Messages
- 204
Hey guys...
i was just removing leaks from one of my maps, when i noticed, that fixing the player group leaks makes the trigger useless. It just doesnt do anything then.
Example (it affects all Triggers with player groups):
greetings
CodeBlack
i was just removing leaks from one of my maps, when i noticed, that fixing the player group leaks makes the trigger useless. It just doesnt do anything then.
Example (it affects all Triggers with player groups):
-
TeamGold
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
(Owner of (Dying unit)) Equal to Player 12 (Brown)
-
-
Actions
-
Set temp_Playergroup = (All allies of (Owner of (Killing unit)))
-
Player Group - Pick every player in (All allies of (Owner of (Killing unit))) and do (Actions)
-
Loop - Actions
-
Player - Add 1 to (Picked player) Current gold
-
-
-
Custom script: call DestroyForce ( udg_temp_Playergroup )
-
-
greetings
CodeBlack