isAutonomous: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Category:Command Group: Remote Control" to "")
No edit summary
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.16


|1.16|Game version=
|arg= global


|arg= global|Multiplayer Arguments=
|gr1= Remote Control


|gr1= Remote Control |GROUP1=
|descr= Returns whether the UAV is in autonomous mode or not.
____________________________________________________________________________________________


| Returns whether the UAV is in autonomous mode or not. |DESCRIPTION=
|s1= [[isAutonomous]] uav
____________________________________________________________________________________________


| [[isAutonomous]] uav |SYNTAX=
|p1= uav: [[Object]]


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


| [[Boolean]] |RETURNVALUE=
|x1= <sqf>private _isAutonomous = isAutonomous uav;</sqf>
____________________________________________________________________________________________
 
|x1= <code>[[private]] _isAutonomous = [[isAutonomous]] uav;</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[setAutonomous]] |SEEALSO=
|seealso= [[setAutonomous]] [[disableAI]] [[enableAI]] [[checkAIFeature]]
}}
}}


<h3 style="display:none">Notes</h3>
{{Note
<dl class="command_description">
|user= Samatra
<!-- Note Section BEGIN -->
|timestamp= 20230430040148
 
|text= Only works on UAV vehicle, UAV crew will always return false. Check my comment @ [[setAutonomous]] for more details about this command.
<!-- Note Section END -->
}}
</dl>
 
<h3 style="display:none">Bottom Section</h3>

Latest revision as of 06:38, 30 April 2023

Hover & click on the images for description

Description

Description:
Returns whether the UAV is in autonomous mode or not.
Groups:
Remote Control

Syntax

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

Examples

Example 1:
private _isAutonomous = isAutonomous uav;

Additional Information

See also:
setAutonomous disableAI enableAI checkAIFeature

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
Samatra - c
Posted on Apr 30, 2023 - 04:01 (UTC)
Only works on UAV vehicle, UAV crew will always return false. Check my comment @ setAutonomous for more details about this command.