connectTerminalToUAV: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - " <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " {3,}\|" to " |") |
||
Line 21: | Line 21: | ||
| [[Boolean]] - [[true]] on success | | [[Boolean]] - [[true]] on success | ||
|x1= <code>bool = [[player]] [[connectTerminalToUAV]] uav1;</code> | |x1= <code>bool = [[player]] [[connectTerminalToUAV]] uav1;</code> | ||
|x2= <code>[[player]] [[connectTerminalToUAV]] [[objNull]]; //disconnect</code> | |x2= <code>[[player]] [[connectTerminalToUAV]] [[objNull]]; //disconnect</code> | ||
| [[allUnitsUAV]], [[getConnectedUAV]], [[isUAVConnected]], [[UAVControl]], [[showUAVFeed]], [[shownUAVFeed]] | | [[allUnitsUAV]], [[getConnectedUAV]], [[isUAVConnected]], [[UAVControl]], [[showUAVFeed]], [[shownUAVFeed]] |
Revision as of 17:02, 18 January 2021
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
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