getConnectedUAV: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
Line 1: Line 1:
{{Command|= Comments
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma3 |Game name=


|0.76|= Game version
|0.76|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| '''getConnectedUAV''' unit |SYNTAX=
| [[getConnectedUAV]] unit |SYNTAX=


|p1= unit: [[Object]] |PARAMETER1=
|p1= unit: [[Object]] |PARAMETER1=


| [[Object]] |RETURNVALUE=  
| [[Object]] - the UAV. [[objNull]] if no UAV is connected. |RETURNVALUE=  


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


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[showUAVFeed]] [[shownUAVFeed]] [[allUnitsUAV]] [[UAVControl]] [[connectTerminalToUAV]] [[isUAVConnected]] |SEEALSO=  
| [[showUAVFeed]] [[shownUAVFeed]] [[allUnitsUAV]] [[UAVControl]] [[connectTerminalToUAV]] [[isUAVConnected]] |SEEALSO=  


| |MPBEHAVIOUR=  
| |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}


Line 39: Line 36:
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Remote Control]]

Revision as of 20:18, 7 April 2019

Hover & click on the images for description

Description

Description:
Returns UAV if unit has connection to some UAV.
Groups:
Uncategorised

Syntax

Syntax:
getConnectedUAV unit
Parameters:
unit: Object
Return Value:
Object - the UAV. 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

Notes

Bottom Section