getConnectedUAVUnit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Article creation)
 
(small edit)
Line 7: Line 7:
|gr1= Remote Control
|gr1= Remote Control


|descr= Returns unit if the UAV has controller unit.
|descr= Returns the controller unit of a UAV (or UGV).


|s1= [[getConnectedUAVUnit]] unit
|s1= [[getConnectedUAVUnit]] unit
Line 13: Line 13:
|p1= unit: [[Object]]
|p1= unit: [[Object]]


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


|x1= <code>[[getConnectedUAVUnit]] drone;</code>
|x1= <code>[[getConnectedUAVUnit]] drone;</code>

Revision as of 16:24, 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 unit
Parameters:
unit: 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