P
Psycho13
Guest
Ok, I tryed making a trigger for if a player leaves or is not playing that his units are given to his team mates. (I got 2 teams (Forces).)
Here is the trigger (when I testet my map and left 2 players with a open slot there units where not given to the team.)
This trigger is only for the blue player and give it to the team of player 1
I also got it for the other player (1 till 5 = team 1 and pl.6 till 10 = team 2)
Please look at the trigger and tell me what I did wrong.
Here is the trigger (when I testet my map and left 2 players with a open slot there units where not given to the team.)
Code:
no blue
Events
Time - Every 1.00 seconds of game time
Conditions
Or - Any (Conditions) are true
Conditions
(Player 2 (Blue) slot status) Equal to Has left the game
(Player 2 (Blue) slot status) Equal to Is unused
(Player 2 (Blue) controller) Equal to Computer
Actions
Unit Group - Pick every unit in (Units owned by Player 2 (Blue)) and do (Actions)
Loop - Actions
Unit - Change ownership of (Triggering unit) to (Random player from Player Group - Player 1 (Red)) and Change color
This trigger is only for the blue player and give it to the team of player 1
I also got it for the other player (1 till 5 = team 1 and pl.6 till 10 = team 2)
Please look at the trigger and tell me what I did wrong.


