connectTerminalToUAV: Difference between revisions
Jump to navigation
Jump to search
m (Bot: Replacing category Scripting Commands Arma 3 with Arma 3: Scripting Commands) |
Killzone Kid (talk | contribs) No edit summary |
||
(40 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
| | |version1= 0.76 | ||
| | |arg= global | ||
| | |eff= global | ||
| | |gr1= Remote Control | ||
| | |descr= Connect person with UAV terminal to UAV unit. UAV Terminal item needs to be assigned to GPS slot. In MP the connection is handled [[local]]ly, therefore it is possible for multiple MP clients to connect to the same UAV. However, each UAV can only have one connection to a terminal per MP client, so if UAV is already connected to another terminal on the same MP client, this new connection will fail. | ||
| | |s1= person [[connectTerminalToUAV]] uav | ||
| [[ | |p1= person: [[Object]] | ||
|p2= uav: [[Object]] | |||
| | |r1= [[Boolean]] - [[true]] on success | ||
| | |x1= <sqf>bool = player connectTerminalToUAV uav1;</sqf> | ||
|x2= <sqf>player connectTerminalToUAV objNull; //disconnect</sqf> | |||
| [[allUnitsUAV]] | |seealso= [[allUnitsUAV]] [[getConnectedUAV]] [[isUAVConnected]] [[UAVControl]] [[showUAVFeed]] [[shownUAVFeed]] | ||
}} | }} | ||
Latest revision as of 21:30, 25 March 2024
Description
- Description:
- Connect person with UAV terminal to UAV unit. UAV Terminal item needs to be assigned to GPS slot. In MP the connection is handled locally, therefore it is possible for multiple MP clients to connect to the same UAV. However, each UAV can only have one connection to a terminal per MP client, so if UAV is already connected to another terminal on the same MP client, 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:
- Example 2:
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