waypointsEnabledUAV: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(31 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Scripting_Commands_Arma_3]]
{{RV|type=command
{{Command|= Comments
____________________________________________________________________________________________


| arma3 |= Game
|game1= arma3
|version1= 1.40
|gr1= Waypoints
|gr2= Remote Control


|1.40|= Game Version (number surrounded by NO SPACES)
|descr= Checks if the UAV has waypoints enabled.


____________________________________________________________________________________________
|s1= [[waypointsEnabledUAV]] uav


| Checks if the UAV has waypoints enabled.  |DESCRIPTION=
|p1= uav: [[Object]]
____________________________________________________________________________________________


| '''waypointsEnabledUAV''' uav |SYNTAX=
|r1= [[Boolean]]
 
|p1= uav: [[Object]] |PARAMETER1=
 
 
| [[Boolean]] |RETURNVALUE=
 
____________________________________________________________________________________________
 
|x1= <code>_uav [[enableUAVWaypoints]] [[false]];
[[hint]] [[str]] [[waypointsEnabledUAV]] _uav; // returns false</code> |EXAMPLE1=
 
____________________________________________________________________________________________
| [[enableUAVWaypoints]], [[enableUAVConnectability]], [[disableUAVConnectability]], [[isUAVConnected]], [[isUAVConnectable]] [[allUnitsUAV]], [[getConnectedUAV]], [[connectTerminalToUAV]] |SEEALSO=


|x1= <sqf>_uav enableUAVWaypoints false;
hint str waypointsEnabledUAV _uav; // returns false</sqf>
|seealso= [[enableUAVWaypoints]] [[enableUAVConnectability]] [[disableUAVConnectability]] [[isUAVConnected]] [[isUAVConnectable]] [[allUnitsUAV]] [[getConnectedUAV]] [[connectTerminalToUAV]]
}}
}}

Latest revision as of 11:25, 13 May 2022

Hover & click on the images for description

Description

Description:
Checks if the UAV has waypoints enabled.
Groups:
WaypointsRemote Control

Syntax

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

Examples

Example 1:
_uav enableUAVWaypoints false; hint str waypointsEnabledUAV _uav; // returns false

Additional Information

See also:
enableUAVWaypoints enableUAVConnectability disableUAVConnectability isUAVConnected isUAVConnectable allUnitsUAV getConnectedUAV 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