setAutonomous: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
No edit summary |
||
Line 19: | Line 19: | ||
|seealso= [[isAutonomous]] | |seealso= [[isAutonomous]] | ||
}} | |||
{{Note | |||
|user= Samatra | |||
|timestamp= 20230430040028 | |||
|text= This command effectively does [[disableAI]] on this list of features: <sqf inline>["ANIM","AUTOTARGET","CHECKVISIBLE","FSM","MOVE","PATH","TARGET","WEAPONAIM"]</sqf>, the effect is local, just like [[disableAI]]. If at least one of these AI features is disabled, then "Autonomous" checkbox in UAV Terminal will be turned off, [[isAutonomous]] will return false, you won't be able to give it waypoints, despite UAV still being mostly autonomous. | |||
}} | }} |
Revision as of 05:00, 30 April 2023
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:
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
- Posted on Apr 30, 2023 - 04:00 (UTC)
- This command effectively does disableAI on this list of features: ["ANIM","AUTOTARGET","CHECKVISIBLE","FSM","MOVE","PATH","TARGET","WEAPONAIM"], the effect is local, just like disableAI. If at least one of these AI features is disabled, then "Autonomous" checkbox in UAV Terminal will be turned off, isAutonomous will return false, you won't be able to give it waypoints, despite UAV still being mostly autonomous.