connectTerminalToUAV: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 11: Line 10:


|gr1= Remote Control |GROUP1=
|gr1= Remote Control |GROUP1=
____________________________________________________________________________________________


| Connect person with UAV terminal to UAV unit. UAV Terminal item needs to be assigned to GPS slot.
| 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. |DESCRIPTION=
If UAV is already connected to another terminal, this new connection will fail. |DESCRIPTION=
____________________________________________________________________________________________


| person '''connectTerminalToUAV''' uav |SYNTAX=
| person '''connectTerminalToUAV''' uav |SYNTAX=
Line 30: Line 27:
|x2= <code>[[player]] [[connectTerminalToUAV]] [[objNull]]; //disconnect</code>|EXAMPLE2=  
|x2= <code>[[player]] [[connectTerminalToUAV]] [[objNull]]; //disconnect</code>|EXAMPLE2=  


____________________________________________________________________________________________


| [[allUnitsUAV]], [[getConnectedUAV]], [[isUAVConnected]], [[UAVControl]], [[showUAVFeed]], [[shownUAVFeed]] |SEEALSO=  
| [[allUnitsUAV]], [[getConnectedUAV]], [[isUAVConnected]], [[UAVControl]], [[showUAVFeed]], [[shownUAVFeed]] |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 00:18, 17 January 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

Notes


Bottom Section