connectTerminalToUAV: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
Line 21: Line 21:
|r1= [[Boolean]] - [[true]] on success
|r1= [[Boolean]] - [[true]] on success


|x1= <code>bool = [[player]] [[connectTerminalToUAV]] uav1;</code>
|x1= <code>bool = player [[connectTerminalToUAV]] uav1;</code>


|x2= <code>[[player]] [[connectTerminalToUAV]] [[objNull]]; //disconnect</code>
|x2= <code>player [[connectTerminalToUAV]] [[objNull]]; //disconnect</code>


|seealso= [[allUnitsUAV]] [[getConnectedUAV]] [[isUAVConnected]] [[UAVControl]] [[showUAVFeed]] [[shownUAVFeed]]
|seealso= [[allUnitsUAV]] [[getConnectedUAV]] [[isUAVConnected]] [[UAVControl]] [[showUAVFeed]] [[shownUAVFeed]]
}}
}}

Revision as of 11:01, 12 May 2022

Hover & click on the images for description

Description

Description:
Connect person with UAV terminal to UAV unit. UAV Terminal item needs to be assigned to GPS slot. If UAV is already connected to another terminal, this new connection will fail.
Groups:
Remote Control

Syntax

Syntax:
person connectTerminalToUAV uav
Parameters:
person: Object
uav: Object
Return Value:
Boolean - true on success

Examples

Example 1:
bool = player connectTerminalToUAV uav1;
Example 2:
player connectTerminalToUAV objNull; //disconnect

Additional Information

See also:
allUnitsUAV getConnectedUAV isUAVConnected UAVControl showUAVFeed shownUAVFeed

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