allDead: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)]]" to "{{GameCategory|arma2|Scripting Commands}}")
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?]]" to "{{GameCategory|tkoh|Scripting Commands}}")
Line 43: Line 43:
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
{{GameCategory|tkoh|Scripting Commands}}


<!-- CONTINUE Notes -->
<!-- CONTINUE Notes -->

Revision as of 09:55, 8 January 2021

Hover & click on the images for description

Description

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

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

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

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