setAutonomous: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
Line 16: Line 16:
|r1= [[Boolean]] - Whether the operation was successful. Returns [[false]] when the object is not a uav.
|r1= [[Boolean]] - Whether the operation was successful. Returns [[false]] when the object is not a uav.


|x1= <code>uav setAutonomous true;</code>
|x1= <sqf>uav setAutonomous true;</sqf>


|seealso= [[isAutonomous]]
|seealso= [[isAutonomous]]
}}
}}

Revision as of 10:24, 13 May 2022

Hover & click on the images for description

Description

Description:
Sets UAV autonomous mode.
Groups:
Remote Control

Syntax

Syntax:
uav setAutonomous bool
Parameters:
uav: Object
bool: Boolean
Return Value:
Boolean - Whether the operation was successful. Returns false when the object is not a uav.

Examples

Example 1:
uav setAutonomous true;

Additional Information

See also:
isAutonomous

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