enableUAVWaypoints: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(format)
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


|1.40|= Game Version (number surrounded by NO SPACES)
|gr1= Waypoints


____________________________________________________________________________________________
|gr2= Remote Control


| Enables/disables the option for player to set waypoints for UAV in AV terminal. |= Description
|descr= Enables/disables the option for player to set waypoints for UAV in AV terminal.
____________________________________________________________________________________________


| uav '''enableUAVWaypoints''' enable |= Syntax
|s1= uav [[enableUAVWaypoints]] enable


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


|p2= enable: [[Boolean]] |= Parameter 2
|p2= enable: [[Boolean]]


|r1= [[Nothing]]


|x1= <sqf>_uav enableUAVWaypoints false;
hint str waypointsEnabledUAV _uav; // returns false</sqf>


| [[Nothing]] |= Return Value
|seealso= [[waypointsEnabledUAV]] [[enableUAVConnectability]] [[disableUAVConnectability]] [[isUAVConnected]] [[isUAVConnectable]] [[allUnitsUAV]] [[getConnectedUAV]] [[connectTerminalToUAV]]
 
____________________________________________________________________________________________
 
|x1= <code>_uav [[enableUAVWaypoints]] [[false]];
[[hint]] [[str]] [[waypointsEnabledUAV]] _uav; // returns false</code> |= Example 1
 
____________________________________________________________________________________________
| [[waypointsEnabledUAV]], [[enableUAVConnectability]], [[disableUAVConnectability]], [[isUAVConnected]], [[isUAVConnectable]] [[allUnitsUAV]], [[getConnectedUAV]], [[connectTerminalToUAV]] |= See also
 
}}
}}

Latest revision as of 11:22, 13 May 2022

Hover & click on the images for description

Description

Description:
Enables/disables the option for player to set waypoints for UAV in AV terminal.
Groups:
WaypointsRemote Control

Syntax

Syntax:
uav enableUAVWaypoints enable
Parameters:
uav: Object
enable: Boolean
Return Value:
Nothing

Examples

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

Additional Information

See also:
waypointsEnabledUAV 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