allUnitsUAV: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(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

Hover & click on the images for description

Description

Description:
Return a list of all UAV units.
Groups:
Uncategorised

Syntax

Syntax:
allUnitsUav
Return Value:
Array of Objects

Examples

Example 1:
hint format ["No. of UAV(s) on the map: %1", count allUnitsUav];
Example 2:
{_x setDamage 1} forEach allUnitsUav;

Additional Information

See also:
allUnitsshowUavFeedshownUavFeedgetConnectedUavisUavConnecteduavControl

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