UAVControl uav

Operand types

uav: Object

Type of returned value

Description

Get array with unit connected to vehicle and position in that vehicle.

Returned array is [unit_object,position_string]

NOTE:
Position means either DRIVER or GUNNER.
Which of course depends on in which positon you are in the UAV controls when the command is called.

Used In

Arma3

Example

hint str(UAVControl (getConnectedUAV player));
// if flying the UAV returns something like [B Alpha 1-1:1 (h-),"DRIVER"]
Search OFPEC COMREF