connectTerminalToUAV: Difference between revisions
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|= | | [[Boolean]] - [[true]] on success|RETURNVALUE= | ||
|x1= <code>bool = [[player]] [[connectTerminalToUAV]] uav1;</code>|= | |x1= <code>bool = [[player]] [[connectTerminalToUAV]] uav1;</code>|EXAMPLE1= | ||
|x2= <code>[[player]] [[connectTerminalToUAV]] [[objNull]]; //disconnect</code>|= | |x2= <code>[[player]] [[connectTerminalToUAV]] [[objNull]]; //disconnect</code>|EXAMPLE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[allUnitsUAV]], [[getConnectedUAV]], [[isUAVConnected]], [[UAVControl]], [[showUAVFeed]], [[shownUAVFeed]] |= | | [[allUnitsUAV]], [[getConnectedUAV]], [[isUAVConnected]], [[UAVControl]], [[showUAVFeed]], [[shownUAVFeed]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:30, 7 April 2019
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
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