allDead: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Bot: Replacing category Scripting Commands Arma 3 with Arma 3: Scripting Commands) |
||
Line 38: | Line 38: | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> | ||
<!-- CONTINUE Notes --> | <!-- CONTINUE Notes --> | ||
<dl class="command_description"> | <dl class="command_description"> | ||
Line 54: | Line 47: | ||
</dl> | </dl> | ||
<!-- DISCONTINUE Notes --> | <!-- DISCONTINUE Notes --> | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Arma 3: Scripting Commands]] | |||
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] | |||
[[Category:ArmA 2 OA: New Scripting Commands List|{{uc:{{PAGENAME}}}}]] |
Revision as of 16:31, 3 December 2018
Description
- Description:
- Return a list of all dead units including agents and destroyed vehicles. Dead units may be in vehicles.
- Groups:
- Uncategorised
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
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
Categories:
- Scripting Commands
- Introduced with Arma 2: Operation Arrowhead version 1.57
- Arma 2: Operation Arrowhead: New Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands ArmA2
- Arma 3: Scripting Commands
- Scripting Commands Take On Helicopters
- ArmA 2 OA: New Scripting Commands List