UAVControl

From Bohemia Interactive Community
Revision as of 23:37, 23 August 2019 by Killzone Kid (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns array with current operator of UAV and his vehicle role in UAV. If nobody is controlling the UAV, the command tries to find any person with connected terminal to this UAV, in which case the vehicle role is an empty string. If command cannot find anyone, output is [objNull, ""].

This command works only for vehicles, to get a unit remote controlling a unit, see Example 3 on the remoteControl page.
Groups:
Uncategorised

Syntax

Syntax:
UAVControl uav
Parameters:
uav: Object
Return Value:
Array - in format [unit, vehicleRole], where:
  • unit: Object - UAV operator
  • vehicleRole: String - vehicle role of the operator in UAV. Could be "DRIVER", "GUNNER" or "" (see description)

Examples

Example 1:
UAVControl uav;

Additional Information

See also:
showUAVFeedshownUAVFeedallUnitsUAVgetConnectedUAVconnectTerminalToUAVisUAVConnectedremoteControlcurrentPilot

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