allDead: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters") |
mNo edit summary |
||
Line 5: | Line 5: | ||
|1.57|Game version= | |1.57|Game version= | ||
|gr1= Object Manipulation |GROUP1= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 20:57, 22 September 2020
Description
- Description:
- Return a list of all dead units including agents and destroyed vehicles. Dead units may be in vehicles.
- Groups:
- Object Manipulation
Syntax
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