When a player leaves, how do you remove their unit?
Just two questions to ask which im having trouble with. What triggers are used to remove a players unit when they leave the game? I know there is remove unit.. but there is no trigger saying Remove all units owned by player 1 (red) or something like that.. Can anyone give me some help ?
Now for my second question. How do you make the minimap in preview screens a picture instead of the actual map? I really need these answered fast for my new map.
The first question is simple so hers your trigger...
Events Player - Player 1 (Red) leaves the game Player - Player 2 (Blue) leaves the game Player - Player 3 (Teal) leaves the game Player - Player 4 (Purple) leaves the game Player - Player 5 (Yellow) leaves the game Player - Player 6 (Orange) leaves the game Player - Player 7 (Green) leaves the game Player - Player 8 (Pink) leaves the game Player - Player 9 (Gray) leaves the game Player - Player 10 (Light Blue) leaves the game Player - Player 11 (Dark Green) leaves the game Player - Player 12 (Brown) leaves the game
Conditions None
Actions Unit Group - Pick every unit in (Units owned by (Triggering player)) and do (Actions) Loop - Actions Unit - Kill (Picked unit)
You can Kill the units or just remove them, you could also show text to the remaining players that one player left do anything you want really this is the basic trigger. As for your other question I'v never done it but know that there are a few tutoials(<-can't spell ) on that so just search around and youll find one. Hope I helped.