enableUAVWaypoints: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "<sqf>([^↵][^<]*↵[^<]*)<\/sqf>" to "<sqf> $1 </sqf>")
 
(30 intermediate revisions by 2 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]] |PARAMETER1=
|p1= uav: [[Object]]


|p2= enable: [[Boolean]] |PARAMETER2=
|p2= enable: [[Boolean]]


|r1= [[Nothing]]


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


| [[Nothing]] |RETURNVALUE=
|seealso= [[waypointsEnabledUAV]] [[enableUAVConnectability]] [[disableUAVConnectability]] [[isUAVConnected]] [[isUAVConnectable]] [[allUnitsUAV]] [[getConnectedUAV]] [[connectTerminalToUAV]]
 
____________________________________________________________________________________________
 
|x1= <code>_uav [[enableUAVWaypoints]] [[false]];
[[hint]] [[str]] [[waypointsEnabledUAV]] _uav; // returns false</code> |EXAMPLE1=
 
____________________________________________________________________________________________
| [[waypointsEnabledUAV]], [[enableUAVConnectability]], [[disableUAVConnectability]], [[isUAVConnected]], [[isUAVConnectable]] [[allUnitsUAV]], [[getConnectedUAV]], [[connectTerminalToUAV]] |SEEALSO=
 
}}
}}

Latest revision as of 19:43, 3 September 2024

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