allDead

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 2: Operation Arrowhead version 1.57
  

Click on the images for descriptions

Introduced in

Game:
Arma 2: Operation Arrowhead
Version:
1.57

Description

Description:
Return a list of all dead units including agents and destroyed vehicles. Dead units may be in vehicles.

Syntax

Syntax:
allDead
Return Value:
Array

Examples

Example 1:
{ deleteVehicle _x } forEach allDead;
Example 2:
allAlive: _all = allUnits + vehicles; { _all pushBack agent _x; } forEach (agents - [teamMemberNull]); allAlive = _all - allDead;

Additional Information

Multiplayer:
-
See also:
allDeadMenallUnitsallGroupsplayableUnitsswitchableUnitsunitsvehiclesallCurators

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section

Posted on April 6, 2017 - 15:40 (UTC)
Ebay
This also returns bodies hidden with hideBody until they are deleted. Tested in A2OA 1.63.131129