allDead: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 21: | Line 21: | ||
|x2= allAlive: | |x2= allAlive: | ||
< | <sqf>_all = allUnits + vehicles; | ||
{ | { | ||
_all | _all pushBack agent _x; | ||
} | } forEach (agents - [teamMemberNull]); | ||
allAlive = _all - allDead;</ | allAlive = _all - allDead;</sqf> | ||
|seealso= [[allDeadMen]] [[allUnits]] [[allGroups]] [[playableUnits]] [[switchableUnits]] [[units]] [[vehicles]] [[allCurators]] | |seealso= [[allDeadMen]] [[allUnits]] [[allGroups]] [[playableUnits]] [[switchableUnits]] [[units]] [[vehicles]] [[allCurators]] | ||
}} | }} | ||
{{Note | |||
|user= Ebay | |||
|timestamp= 20170406154000 | |||
|text= This also returns bodies hidden with [[hideBody]] until they are deleted. Tested in A2OA 1.63.131129 | |||
}} | |||
This also returns bodies hidden with [[hideBody]] until they are deleted. Tested in A2OA 1.63.131129 | |||
Revision as of 12:02, 14 May 2022
Description
- Description:
- Return a list of all dead units including agents and destroyed vehicles. Dead units may be in vehicles.
- Groups:
- Object Detection
Syntax
Examples
- Example 1:
- Example 2:
- allAlive:
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
- Posted on Apr 06, 2017 - 15:40 (UTC)
- This also returns bodies hidden with hideBody until they are deleted. Tested in A2OA 1.63.131129