Say if i had something like this... (example)
-
Set TempGroup[1] = (Units owned by (Player 1 (Red)
-
Set TempGroup[2] = (Units owned by (Player 2 (Blue)
-
Set TempGroup[3] = (Units owned by (Player 3 (Teal)
-
Custom script: call DestroyGroup(TempGroup[1])
-
Custom script: call DestroyGroup(TempGroup[2])
-
Custom script: call DestroyGroup(TempGroup[3])