isUAVConnected: Difference between revisions

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


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


|0.76|Game version=
|eff= local
____________________________________________________________________________________________
|gr1= Remote Control


| Returns true if UAV is connected to some terminal. |DESCRIPTION=
|descr= Returns true if UAV is connected to some terminal. Termnal onnection is handled [[local]]ly, therefore the result of this command will be returned only for the client on which this command is executed.
____________________________________________________________________________________________


| [[isUAVConnected]] uav |SYNTAX=
|s1= [[isUAVConnected]] uav


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


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


|x1= <code>_isConnected = [[isUAVConnected]] [[cursorTarget]];</code>|EXAMPLE1=
|x1= <sqf>_isConnected = isUAVConnected cursorTarget;</sqf>
____________________________________________________________________________________________


| [[showUAVFeed]], [[shownUAVFeed]], [[allUnitsUAV]], [[getConnectedUAV]], [[UAVControl]], [[connectTerminalToUAV]] |SEEALSO=
|seealso= [[showUAVFeed]] [[shownUAVFeed]] [[allUnitsUAV]] [[getConnectedUAV]] [[UAVControl]] [[connectTerminalToUAV]]
 
| |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:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Remote Control]]

Latest revision as of 22:25, 25 March 2024

Hover & click on the images for description

Description

Description:
Returns true if UAV is connected to some terminal. Termnal onnection is handled locally, therefore the result of this command will be returned only for the client on which this command is executed.
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 or on the Forums.
Only post proven facts here! Add Note