connectTerminalToUAV: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
Line 21: | Line 21: | ||
|r1= [[Boolean]] - [[true]] on success | |r1= [[Boolean]] - [[true]] on success | ||
|x1= < | |x1= <sqf>bool = player connectTerminalToUAV uav1;</sqf> | ||
|x2= < | |x2= <sqf>player connectTerminalToUAV objNull; //disconnect</sqf> | ||
|seealso= [[allUnitsUAV]] [[getConnectedUAV]] [[isUAVConnected]] [[UAVControl]] [[showUAVFeed]] [[shownUAVFeed]] | |seealso= [[allUnitsUAV]] [[getConnectedUAV]] [[isUAVConnected]] [[UAVControl]] [[showUAVFeed]] [[shownUAVFeed]] | ||
}} | }} |
Revision as of 10:21, 13 May 2022
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:
- 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