connectTerminalToUAV: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 0.76


|0.76|Game version=
|arg= global


|arg= global |Arguments in MP=
|eff= global


|eff= global |Effects in MP=
|gr1= Remote Control


|gr1= Remote Control |GROUP1=
|descr= 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.


| Connect person with UAV terminal to UAV unit. UAV Terminal item needs to be assigned to GPS slot.
|s1= person [[connectTerminalToUAV]] uav
If UAV is already connected to another terminal, this new connection will fail. |DESCRIPTION=
____________________________________________________________________________________________


| person '''connectTerminalToUAV''' uav |SYNTAX=
|p1= person: [[Object]]


|p1= person: [[Object]] |PARAMETER1=
|p2= uav: [[Object]]


|p2= uav: [[Object]] |PARAMETER2=
|r1= [[Boolean]] - [[true]] on success


| [[Boolean]] - [[true]] on success|RETURNVALUE=  
|x1= <sqf>bool = player connectTerminalToUAV uav1;</sqf>


|x2= <sqf>player connectTerminalToUAV objNull; //disconnect</sqf>


|x1= <code>bool = [[player]] [[connectTerminalToUAV]] uav1;</code>|EXAMPLE1=
|seealso= [[allUnitsUAV]] [[getConnectedUAV]] [[isUAVConnected]] [[UAVControl]] [[showUAVFeed]] [[shownUAVFeed]]
 
|x2= <code>[[player]] [[connectTerminalToUAV]] [[objNull]]; //disconnect</code>|EXAMPLE2=
 
____________________________________________________________________________________________
 
| [[allUnitsUAV]], [[getConnectedUAV]], [[isUAVConnected]], [[UAVControl]], [[showUAVFeed]], [[shownUAVFeed]] |SEEALSO=
 
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma3|New_Scripting_Commands_List}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 10:21, 13 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.
Only post proven facts here! Add Note