{"name":"setAutonomous","operator":null,"title":"setAutonomous","type":"command","url":"https://community.bistudio.com/wiki/setAutonomous","revid":364993,"updated":"2024-07-04T19:58:05Z","groups":["Remote Control"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.16"}],"since":{"game":"arma3","name":"Arma 3","version":"1.16"},"arma3_since":"1.16","branch":null,"locality":{"argument":"global","effect":"local","server_exec":false},"exec":null,"description":"Sets UAV autonomous mode.","syntaxes":[{"syntax":"uav setAutonomous bool","since":null,"effect":null,"exec":null,"params":[{"name":"uav","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"uav: Object"},{"name":"bool","type":"Boolean","optional":false,"default":null,"description":null,"types":["Boolean"],"since":null,"text":"bool: Boolean"}],"returns":{"type":"Boolean","types":["Boolean"],"description":"whether the operation was successful. Returns false when the object is not a uav.","text":"Boolean - whether the operation was successful. Returns false when the object is not a uav."},"form":"binary","operator":null,"left":{"text":"uav","types":["Object"]},"right":{"text":"bool","types":["Boolean"]}}],"examples":[{"text":"```sqf\nuav setAutonomous true;\n```","code":["uav setAutonomous true;"]}],"multiplayer":null,"problems":null,"aliases":[],"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."}],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Remote Control","Introduced with Arma 3 version 1.16","Scripting Commands","Scripting Commands: Local Effect"]}