setAutonomous: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |r1=[[" to " |r1= [[")
(correct return value)
Line 14: Line 14:
|p2= bool: [[Boolean]]
|p2= bool: [[Boolean]]


|r1= [[Nothing]]
|r1= [[Boolean]] - Whether the operation was successful. Returns [[false]] when the object is not a uav.


|x1= <code>uav [[setAutonomous]] [[true]];</code>
|x1= <code>uav [[setAutonomous]] [[true]];</code>

Revision as of 17:06, 23 April 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