---
name: "getConnectedUAV"
type: command
status: ok
groups: ["Remote Control"]
arma3_since: "0.76"
locality: {"argument": "local", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/getConnectedUAV
revid: 363203
updated: 2024-03-25T20:22:07Z
---

# getConnectedUAV

*Command · Remote Control · Arma 3 v0.76*

Locality: arguments **local**

## Description

Returns UAV/UGV vehicle if person has connection to some UAV. To return the AI unit which player controls, see [getConnectedUAVUnit](../commands/getConnectedUAVUnit.md).

## Syntax

```sqf
getConnectedUAV person
```

**Parameters:**

- `person`: [Object](../topics/Object.md) - player controlling UAV/UGV

**Returns:** [Object](../topics/Object.md) - the UAV/UGV object or [objNull](../commands/objNull.md) if no UAV is connected or if the connected unit is remote.

## Examples

### Example 1

```sqf
getConnectedUAV player;
```

## See also

[getConnectedUAVUnit](../commands/getConnectedUAVUnit.md) · [showUAVFeed](../commands/showUAVFeed.md) · [shownUAVFeed](../commands/shownUAVFeed.md) · [allUnitsUAV](../commands/allUnitsUAV.md) · [UAVControl](../commands/UAVControl.md) · [connectTerminalToUAV](../commands/connectTerminalToUAV.md) · [isUAVConnected](../commands/isUAVConnected.md)

<sub>Source: [BI Community Wiki — getConnectedUAV](https://community.bistudio.com/wiki/getConnectedUAV) (revision 363203).</sub>
