UAVControl: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Switching to uniformed upper case for all *UAV* commands)
mNo edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Get array with unit connected to vehicle and position in that vehicle.  |= Description
| Returns array with current operator of UAV and his vehicle role in UAV.  |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 14: Line 14:
|p1= uav: [[Object]] |= Parameter 1
|p1= uav: [[Object]] |= Parameter 1


| [[Array]] - in format: [unit_object,position_string]|= RETURNVALUE
| [[Array]] - in format [unit, vehicleRole], where:
* unit: [[Object]] - UAV operator
* vehicleRole: [[String]] - vehicle role of the operator in UAV, for example: "DRIVER" or "GUNNER" |= RETURNVALUE
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code>|= EXAMPLE1
|x1= <code>[[UAVControl]] uav;</code>|= EXAMPLE1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 23:43, 26 April 2017

Hover & click on the images for description

Description

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

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