Functions: Garbage: collectGarbage
This function "cleans up" objects by deleting both them and (if applicable) their groups.
If an empty array is provided, the function will delete all dead bodies (including vehicles) along with, if possible, their groups. If a populated array is provided, however, all units in the array (along with their groups, if possible) will be deleted, even if they are alive.
This function will never delete players or playable units.
An array of objects / groups that are to be deleted. If an empty array is provided, objects in
allDeadare deleted along with their groups (if possible).
Deleting all units in the array
_attackers call AW_fnc_collectGarbage;
Deleting all dead vehicles (including units) and emtpy groups.
 call AW_fnc_collectGarbage;