setAutonomous: Difference between revisions
Jump to navigation
Jump to search
(correct return value) |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
||
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 | |x1= <code>uav setAutonomous [[true]];</code> | ||
|seealso= [[isAutonomous]] | |seealso= [[isAutonomous]] | ||
}} | }} |
Revision as of 11:13, 12 May 2022
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