Trigger:
- Untitled Trigger 003
- Events
- Time - Elapsed game time is 1.00 seconds
- Conditions
- Actions
- For each (Integer A) from 1 to 12, do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Player((Integer A))) controller) Not equal to User
- ((Player((Integer A))) slot status) Not equal to Is playing
- Then - Actions
- Set Test_Group = (Units owned by (Player((Integer A))))
- Unit Group - Pick every unit in Test_Group and do (Actions)
- Loop - Actions
- Unit - Remove (Picked unit) from the game
- Custom script: call DestroyGroup(udg_Test_Group)
- Else - Actions
this will remove all units owned by players not playing.
Post your trigger and no it will work without the script but then it leaks
Take away the user check condition not needed.