getConnectedUAV: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 0.76
|version1= 0.76
|arg= local


|gr1= Remote Control
|gr1= Remote Control


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


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


|p1= unit: [[Object]]
|p1= person: [[Object]] - player controlling UAV/UGV


|r1=[[Object]] - the UAV. [[objNull]] if no UAV is connected.
|r1= [[Object]] - the UAV/UGV object or [[objNull]] if no UAV is connected or if the connected unit is remote.


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


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

Latest revision as of 21:22, 25 March 2024

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 object or objNull if no UAV is connected or if the connected unit is remote.

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