allUnitsUAV: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fred Gandt moved page allUnitsUav to allUnitsUAV: Case continuity of UAV)
m (Switching to uniformed upper case for all *UAV* commands)
Line 15: Line 15:




|x1= <code>[[hint]] [[format]] ["No. of UAV(s) on the map: %1", [[count]] [[allUnitsUav]]];</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  
|x2= <code>{_x [[setDamage]] 1} [[forEach]] [[allUnitsUAV]];</code>|= EXAMPLE2  
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[allCurators]], [[allGroups]], [[allDead]], [[playableUnits]], [[switchableUnits]], [[vehicles]], [[allDeadMen]], [[agents]], [[showUavFeed]], [[shownUavFeed]], [[getConnectedUav]], [[uavControl]] , [[connectTerminalToUav ]] , [[isUavConnected]] |= SEEALSO  
| [[allCurators]], [[allGroups]], [[allDead]], [[playableUnits]], [[switchableUnits]], [[vehicles]], [[allDeadMen]], [[agents]], [[showUAVFeed]], [[shownUAVFeed]], [[getConnectedUAV]], [[UAVControl]] , [[connectTerminalToUAV]] , [[isUAVConnected]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 20:44, 6 July 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:
allCuratorsallGroupsallDeadplayableUnitsswitchableUnitsvehiclesallDeadMenagentsshowUAVFeedshownUAVFeedgetConnectedUAVUAVControl , connectTerminalToUAV , isUAVConnected

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