Player Group - Pick every player in (All players controlled by a None player) and do (Actions)
Loop - Actions
Unit Group - Pick every unit in (Units owned by (Picked player)) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
there may be some leaks, i guess you can solve it out
__________________
Universal Declaration of Human Rights-10th December 1948
Article 19
Everyone has the right to freedom of opinion and expression; this right includes freedom to hold opinions without interference and to seek, receive and impart information and ideas through any media and regardless of frontiers.
If (((Player((Integer A))) slot status) equal to unused) then do (Unitgroup - Pick every unit in (Units owned by (Player((Integer A)))) and do (Unit - Remove (Picked unit) from the game)) else do (Do nothing)
lol too slow :/
__________________
When I come back from the mighty quest
I have no need for sleep or rest
I head to a tavern for a drink
And get so drunk I cannot think
A wench by my side and a jug of mead
These are the things that I most need
So I sit back and sing this song
And drink and party all night long
You can create units only for players that are ingame, and remove units of player when player leave. It's much lesser laggy than to create and then remove them.
When I come back from the mighty quest
I have no need for sleep or rest
I head to a tavern for a drink
And get so drunk I cannot think
A wench by my side and a jug of mead
These are the things that I most need
So I sit back and sing this song
And drink and party all night long