allUnitsUAV: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (see also) |
(syntax, added examples) |
||
Line 12: | Line 12: | ||
| '''allUnitsUav''' |= Syntax | | '''allUnitsUav''' |= Syntax | ||
| [[Array]] |= RETURNVALUE | | [[Array]] of [[Object]]s |= RETURNVALUE | ||
|x1= <code></code>|= EXAMPLE1 | |x1= <code>[[hint]] [[format]] ["No. of UAV(s) on the map: %1", [[count]] [[allUnitsUav]]];</code>|= EXAMPLE1 | ||
|x2= <code>{_x [[setDamage]] 1} [[forEach]] [[allUnitsUav]];</code>|= EXAMPLE2 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 00:22, 16 March 2014
Description
- Description:
- Return a list of all UAV units.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
hint format ["No. of UAV(s) on the map: %1", count allUnitsUav];
- Example 2:
{_x setDamage 1} forEach allUnitsUav;
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