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.
Description
Sets UAV autonomous mode.
Syntax
uav setAutonomous bool
Parameters:
Returns: Boolean - whether the operation was successful. Returns false when the object is not a uav.
Examples
Example 1
uav setAutonomous true;
See also
isAutonomous · disableAI · enableAI · checkAIFeature