Arma 3 Scripting

Command in Remote Control

connectTerminalToUAV

Also available as Markdown and JSON, or read the original wiki page.

Description

Connect person with UAV terminal to UAV unit. UAV Terminal item needs to be assigned to GPS slot. In MP the connection is handled locally, therefore it is possible for multiple MP clients to connect to the same UAV. However, each UAV can only have one connection to a terminal per MP client, so if UAV is already connected to another terminal on the same MP client, this new connection will fail.

Syntax

person connectTerminalToUAV uav

Parameters:

Returns: Boolean - true on success

Examples

Example 1

bool = player connectTerminalToUAV uav1;

Example 2

player connectTerminalToUAV objNull; //disconnect

See also

allUnitsUAV · getConnectedUAV · isUAVConnected · UAVControl · showUAVFeed · shownUAVFeed