connectTerminalToUAV: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|0.76 | |0.76 | ||
|arg= global |Arguments in MP= | |arg= global |Arguments in MP= | ||
Line 9: | Line 9: | ||
|eff= global |Effects in MP= | |eff= global |Effects in MP= | ||
|gr1= Remote Control | |gr1= Remote Control | ||
| 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. | If UAV is already connected to another terminal, this new connection will fail. | ||
| person '''connectTerminalToUAV''' uav | | person '''connectTerminalToUAV''' uav | ||
|p1= person: [[Object]] | |p1= person: [[Object]] | ||
|p2= uav: [[Object]] | |p2= uav: [[Object]] | ||
| [[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]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 00:09, 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
Notes