UAVControl: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (see also) |
Killzone Kid (talk | contribs) (more info) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns array with current operator of UAV and his vehicle role in UAV.<br><br> | | 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.<br><br> | ||
{{Informative | This command works only for vehicles, to get a unit remote controlling a unit, see Example 3 on the [[remoteControl]] page.}} |DESCRIPTION= | {{Informative | This command works only for vehicles, to get a unit remote controlling a unit, see Example 3 on the [[remoteControl]] page.}} |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 17: | Line 17: | ||
| [[Array]] - in format [unit, vehicleRole], where: | | [[Array]] - in format [unit, vehicleRole], where: | ||
* unit: [[Object]] - UAV operator | * unit: [[Object]] - UAV operator | ||
* vehicleRole: [[String]] - vehicle role of the operator in UAV, | * vehicleRole: [[String]] - vehicle role of the operator in UAV. Could be "DRIVER", "GUNNER" or "" (see description) |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 22:34, 23 August 2019
Description
- Description:
- 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.
- Groups:
- Uncategorised
Syntax
- Syntax:
- UAVControl uav
- Parameters:
- uav: Object
- Return Value:
- Array - in format [unit, vehicleRole], where:
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