isUAVConnected: Difference between revisions

From Bohemia Interactive Community
m (Switching to uniformed upper case for all *UAV* commands)
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
(25 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
|gr1= Remote Control
____________________________________________________________________________________________


| Returns true if UAV is connected to some terminal. |= Description
|descr= Returns true if UAV is connected to some terminal.
____________________________________________________________________________________________


| '''isUAVConnected''' uav |= Syntax
|s1= [[isUAVConnected]] uav


|p1= uav: [[Object]] |= Parameter 1
|p1= uav: [[Object]]


| [[Boolean]] |= RETURNVALUE
|r1= [[Boolean]]


|x1= <sqf>_isConnected = isUAVConnected cursorTarget;</sqf>


|x1= <code>bool = [[isUAVConnected]] [[cursorTarget]];</code>|= EXAMPLE1
|seealso= [[showUAVFeed]] [[shownUAVFeed]] [[allUnitsUAV]] [[getConnectedUAV]] [[UAVControl]] [[connectTerminalToUAV]]
 
____________________________________________________________________________________________
 
| [[showUAVFeed]], [[shownUAVFeed]], [[allUnitsUAV]], [[getConnectedUAV]], [[UAVControl]] , [[connectTerminalToUAV]] |= SEEALSO
 
|  |= 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}}}}]]

Revision as of 10:23, 13 May 2022

Hover & click on the images for description

Description

Description:
Returns true if UAV is connected to some terminal.
Groups:
Remote Control

Syntax

Syntax:
isUAVConnected uav
Parameters:
uav: Object
Return Value:
Boolean

Examples

Example 1:
_isConnected = isUAVConnected cursorTarget;

Additional Information

See also:
showUAVFeed shownUAVFeed allUnitsUAV getConnectedUAV UAVControl connectTerminalToUAV

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note