connectTerminalToUAV: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|s([0-9])\= ([^' ]+)'''([^' ]+)'''([^ ]*) " to "|s$1= $2$3$4 ")
m (Text replacement - " |r1=[[" to " |r1= [[")
Line 19: Line 19:
|p2= uav: [[Object]]
|p2= uav: [[Object]]


|r1=[[Boolean]] - [[true]] on success
|r1= [[Boolean]] - [[true]] on success


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

Revision as of 23:37, 7 August 2021

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:
allUnitsUAVgetConnectedUAVisUAVConnectedUAVControlshowUAVFeedshownUAVFeed

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