getConnectedUAV: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
(27 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 0.76


|0.76|Game version=
|arg= local
____________________________________________________________________________________________


| Returns UAV if unit has connection to some UAV. |DESCRIPTION=
|gr1= Remote Control
____________________________________________________________________________________________


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


|p1= unit: [[Object]] |PARAMETER1=
|s1= [[getConnectedUAV]] person


| [[Object]] - the UAV. [[objNull]] if no UAV is connected. |RETURNVALUE=
|p1= person: [[Object]] - player controlling UAV/UGV


|x1= <code>[[getConnectedUAV]] [[player]];</code>|EXAMPLE1=
|r1= [[Object]] - the UAV/UGV object or [[objNull]] if no UAV is connected or if the connected unit is remote.


____________________________________________________________________________________________
|x1= <sqf>getConnectedUAV player;</sqf>


| [[showUAVFeed]] [[shownUAVFeed]] [[allUnitsUAV]] [[UAVControl]] [[connectTerminalToUAV]] [[isUAVConnected]] |SEEALSO=
|seealso= [[getConnectedUAVUnit]] [[showUAVFeed]] [[shownUAVFeed]] [[allUnitsUAV]] [[UAVControl]] [[connectTerminalToUAV]] [[isUAVConnected]]
 
| |MPBEHAVIOUR=
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Remote Control]]

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