This also returns bodies hidden with hideBody until they are deleted. Tested in A2OA 1.63.131129
Description
Return a list of all dead units including agents and destroyed vehicles. Dead units may be in vehicles.
Syntax
allDead
Examples
Example 1
{ deleteVehicle _x } forEach allDead;
Example 2
allAlive:
_all = allUnits + vehicles;
{
_all pushBack agent _x;
} forEach (agents - [teamMemberNull]);
allAlive = _all - allDead;
See also
allDeadMen · allUnits · allGroups · playableUnits · switchableUnits · units · vehicles · allCurators