UAVControl: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
Line 1: Line 1:
{{Command|= Comments
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma3 |Game name=


|1.00|= Game version
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns array with current operator of UAV and his vehicle role in UAV.<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=
| Returns array with current operator of UAV and his vehicle role in UAV.<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=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''UAVControl''' uav |SYNTAX=
| [[UAVControl]] uav |SYNTAX=


|p1= uav: [[Object]] |PARAMETER1=
|p1= uav: [[Object]] |PARAMETER1=
Line 24: Line 25:
| [[showUAVFeed]], [[shownUAVFeed]], [[allUnitsUAV]], [[getConnectedUAV]], [[connectTerminalToUAV]], [[isUAVConnected]], [[remoteControl]] |SEEALSO=  
| [[showUAVFeed]], [[shownUAVFeed]], [[allUnitsUAV]], [[getConnectedUAV]], [[connectTerminalToUAV]], [[isUAVConnected]], [[remoteControl]] |SEEALSO=  


| |MPBEHAVIOUR=  
| |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}


Line 39: Line 39:
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Remote Control]]

Revision as of 20:23, 7 April 2019

Hover & click on the images for description

Description

Description:
Returns array with current operator of UAV and his vehicle role in UAV.

This command works only for vehicles, to get a unit remote controlling a unit, see Example 3 on the remoteControl page.
Groups:
Uncategorised

Syntax

Syntax:
UAVControl uav
Parameters:
uav: Object
Return Value:
Array - in format [unit, vehicleRole], where:
  • unit: Object - UAV operator
  • vehicleRole: String - vehicle role of the operator in UAV, for example: "DRIVER" or "GUNNER"

Examples

Example 1:
UAVControl uav;

Additional Information

See also:
showUAVFeedshownUAVFeedallUnitsUAVgetConnectedUAVconnectTerminalToUAVisUAVConnectedremoteControl

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

Bottom Section