connectTerminalToUAV: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Reverted to revision 99512 by killzone_kid on 2017-04-19T16:10:56Z)
m (template:command argument fix)
Line 18: Line 18:
|p2= uav: [[Object]] |= Parameter 2
|p2= uav: [[Object]] |= Parameter 2


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




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


|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 11:30, 7 April 2019

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

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