how would i make a trigger that kills all the players that arent there
cuz i kinda deleted the map initialization trigger
None.
An artist's depiction of an Extended Unit Death
You can recreate the map initialization triggers by making a new map and copying over the trigger to your map, or you can recreate it yourself:
Melee Initialization
Events
Game - Map initialization
Local Variables
Conditions
Actions
Melee - Set melee starting resources for all players
Melee - Create melee starting units for all players
Melee - Start the melee AI for all computer players
Melee - Set default melee options for all players
For manually killing all units from an inactive player, you can iterate over all players, and if that player is inactive, kill all units owned by that player. The action would look something like this for 8 players:
General - Pick each integer from 1 to 8, and do (Actions)
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
((Picked integer) is in (Active Players)) == false
Then
Unit Group - Pick each unit in (Any units in (Entire map) owned by player (Picked integer) matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
Actions
Unit - Kill (Picked unit)
Else
Hope this helps!