allDead: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{uc:{{PAGENAME}}}} " to "")
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \|x1=" to "\|r1=$1 \|x1=")
Line 11: Line 11:
| [[allDead]]
| [[allDead]]


| [[Array]]
\|r1= [[Array]]


|x1= <code>{ [[deleteVehicle]] _x } [[forEach]] [[allDead]];</code>
\|x1= <code>{ [[deleteVehicle]] _x } [[forEach]] [[allDead]];</code>


|x2= allAlive: <code>_all = [[allUnits]] + [[vehicles]];
|x2= allAlive: <code>_all = [[allUnits]] + [[vehicles]];

Revision as of 10:26, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object Detection

Syntax

Syntax:
Syntax needed
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

See also:
allDeadMenallUnitsallGroupsplayableUnitsswitchableUnitsunitsvehiclesallCurators

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
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