{"name":"setAutonomous","title":"setAutonomous","type":"command","url":"https://community.bistudio.com/wiki/setAutonomous","revid":364993,"updated":"2024-07-04T19:58:05Z","groups":["Remote Control"],"status":"ok","games":{"arma3":"1.16"},"since":"arma3 1.16","arma3_since":"1.16","locality":{"argument":"global","effect":"local"},"description":"Sets UAV autonomous mode.","syntaxes":[{"syntax":"uav setAutonomous bool","params":[{"name":"uav","type":"Object","type_expr":"Object"},{"name":"bool","type":"Boolean","type_expr":"Boolean"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"whether the operation was successful. Returns false when the object is not a uav."},"form":"binary","left":{"text":"uav"},"right":{"text":"bool"}}],"examples":[{"code":["uav setAutonomous true;"]}],"see_also":["isAutonomous","disableAI","enableAI","checkAIFeature"],"notes":[{"user":"Sa-Matra","date":"2023-04-30T04:00:28Z","text":"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."}]}