getConnectedUAV: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
|gr1= Remote Control
|gr1= Remote Control


|descr= Returns UAV/UGV if person has connection to some UAV. To return the AI unit which player controls, see [[getConnectedUAVUnit]].
|descr= Returns UAV/UGV vehicle if person has connection to some UAV. To return the AI unit which player controls, see [[getConnectedUAVUnit]].


|s1= [[getConnectedUAV]] person
|s1= [[getConnectedUAV]] person

Revision as of 21:14, 10 September 2021

Hover & click on the images for description

Description

Description:
Returns UAV/UGV vehicle if person has connection to some UAV. To return the AI unit which player controls, see getConnectedUAVUnit.
Groups:
Remote Control

Syntax

Syntax:
getConnectedUAV person
Parameters:
person: Object - player controlling UAV/UGV
Return Value:
Object - the UAV/UGV. objNull if no UAV is connected.

Examples

Example 1:
getConnectedUAV player;

Additional Information

See also:
showUAVFeed shownUAVFeed allUnitsUAV UAVControl connectTerminalToUAV 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