getConnectedUAV: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1 $2;</sqf>")
Line 14: Line 14:
|r1= [[Object]] - the UAV/UGV. [[objNull]] if no UAV is connected.
|r1= [[Object]] - the UAV/UGV. [[objNull]] if no UAV is connected.


|x1= <code>[[getConnectedUAV]] [[player]];</code>
|x1= <sqf>getConnectedUAV player;</sqf>


|seealso= [[getConnectedUAVUnit]] [[showUAVFeed]] [[shownUAVFeed]] [[allUnitsUAV]] [[UAVControl]] [[connectTerminalToUAV]] [[isUAVConnected]]
|seealso= [[getConnectedUAVUnit]] [[showUAVFeed]] [[shownUAVFeed]] [[allUnitsUAV]] [[UAVControl]] [[connectTerminalToUAV]] [[isUAVConnected]]
}}
}}

Revision as of 14:10, 5 May 2022

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:
getConnectedUAVUnit 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