UAVControl: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[.*\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
m (Text replacement - "v1\.95\.[0-9]{6}" to "v1.96") |
||
Line 9: | Line 9: | ||
| Returns array with current operator of UAV and his vehicle role in UAV. If nobody is controlling the UAV, the command tries to find any person with connected terminal to this UAV, in which case the vehicle role is an empty string. If command cannot find anyone, output is <tt><nowiki>[</nowiki>[[objNull]], ""]</tt>. | | Returns array with current operator of UAV and his vehicle role in UAV. If nobody is controlling the UAV, the command tries to find any person with connected terminal to this UAV, in which case the vehicle role is an empty string. If command cannot find anyone, output is <tt><nowiki>[</nowiki>[[objNull]], ""]</tt>. | ||
<br><br> | <br><br> | ||
Since Arma 3 v1. | Since Arma 3 v1.96 this command returns both driver and gunner units if the UAV is controlled by 2 players. Here is the list of all expected outputs: | ||
* <tt>[player1, "DRIVER"]</tt> - player1 is controlling the UAV and is the pilot | * <tt>[player1, "DRIVER"]</tt> - player1 is controlling the UAV and is the pilot | ||
* <tt>[player2, "GUNNER"]</tt> - player2 is controlling the UAV and is the gunner | * <tt>[player2, "GUNNER"]</tt> - player2 is controlling the UAV and is the gunner |
Revision as of 10:21, 3 April 2021
Description
- Description:
- Description needed
- Groups:
- Remote Control
Syntax
- Syntax:
- Syntax needed
- Parameters:
- uav: Object
- Return Value:
- Return value needed
Examples
- Example 1:
UAVControl uav;
Additional Information
- See also:
- showUAVFeedshownUAVFeedallUnitsUAVgetConnectedUAVconnectTerminalToUAVisUAVConnectedremoteControlcurrentPilot
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