isAutonomous: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
m (Text replacement - "Samatra" to "Sa-Matra")
 
(6 intermediate revisions by 2 users not shown)
Line 14: Line 14:
|p1= uav: [[Object]]
|p1= uav: [[Object]]


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


|x1= <code>[[private]] _isAutonomous = [[isAutonomous]] uav;</code>
|x1= <sqf>private _isAutonomous = isAutonomous uav;</sqf>


|seealso= [[setAutonomous]]
|seealso= [[setAutonomous]] [[disableAI]] [[enableAI]] [[checkAIFeature]]
}}
 
{{Note
|user= Sa-Matra
|timestamp= 20230430040148
|text= Only works on UAV vehicle, UAV crew will always return false. Check my comment @ [[setAutonomous]] for more details about this command.
}}
}}

Latest revision as of 20:58, 4 July 2024

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
Sa-Matra - 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.