getConnectedUAVUnit

From Bohemia Interactive Community
Revision as of 13:43, 3 May 2022 by Lou Montana (talk | contribs) (Some wiki formatting)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns UAV/UGV AI unit, which player is controlling. To return UAV vehicle, see getConnectedUAV
Groups:
Remote Control

Syntax

Syntax:
getConnectedUAVUnit person
Parameters:
person: Object - unit controlling the UAV/UGV
Return Value:
Object - UAV unit (AI driver or AI gunner), objNull otherwise

Examples

Example 1:
private _playersDrone = getConnectedUAVUnit player;

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