Arma 3 Scripting

allUnitsUAV

  • Arma 3 v0.76

Command · also in Object Detection · Markdown · JSON · original wiki page

Description

Return a list of all UAV vehicles.

Syntax

allUnitsUAV

Returns: Array of Objects - array of UAV vehicles

Examples

Example 1

hint format ["Number of UAV(s) on the map: %1", count allUnitsUAV];

Example 2

{ _x setDamage 1 } forEach allUnitsUAV;

See also

unitIsUAV · allCurators · allGroups · allDead · playableUnits · switchableUnits · vehicles · allDeadMen · agents · showUAVFeed · shownUAVFeed · getConnectedUAV · UAVControl · connectTerminalToUAV · isUAVConnected

Community notes

AgentRev

This command returns a list of all unmanned vehicles, not the UAV AI units inside them, as the name might otherwise suggest.