getConnectedUAVUnit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(small edit)
mNo edit summary
Line 9: Line 9:
|descr= Returns the controller unit of a UAV (or UGV).
|descr= Returns the controller unit of a UAV (or UGV).


|s1= [[getConnectedUAVUnit]] unit
|s1= [[getConnectedUAVUnit]] uav


|p1= unit: [[Object]]
|p1= uav: [[Object]] - the UAV/UGV object


|r1= [[Object]] - the controller unit. [[objNull]] if no unit [[remoteControl|controls]] the UAV.
|r1= [[Object]] - the controller unit. [[objNull]] if no unit [[remoteControl|controls]] the UAV.

Revision as of 17:25, 10 September 2021

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.08.

Description

Description:
Returns the controller unit of a UAV (or UGV).
Groups:
Remote Control

Syntax

Syntax:
getConnectedUAVUnit uav
Parameters:
uav: Object - the UAV/UGV object
Return Value:
Object - the controller unit. objNull if no unit controls the UAV.

Examples

Example 1:
getConnectedUAVUnit drone;

Additional Information

See also:
getConnectedUAV isUAVConnected

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