Arma 3 Scripting

getConnectedUAVUnit

  • Local argument
  • Arma 3 v2.08

Command · Markdown · JSON · original wiki page

Description

Returns UAV/UGV AI unit, which player is controlling. To return UAV vehicle, see getConnectedUAV

Syntax

getConnectedUAVUnit person

Parameters:

Returns: Object - UAV unit (AI driver or AI gunner) or objNull otherwise including if the connected person is remote

Examples

Example 1

private _playersDrone = getConnectedUAVUnit player;

See also

getConnectedUAV · isUAVConnected