{"name":"enableCopilot","title":"enableCopilot","type":"command","url":"https://community.bistudio.com/wiki/enableCopilot","revid":379416,"updated":"2026-10-31T00:03:37Z","groups":["Object Manipulation"],"status":"ok","games":{"tkoh":"1.01","arma3":"0.50"},"since":"tkoh 1.01","arma3_since":"0.50","locality":{"argument":"global","effect":"local"},"description":"Enables copilot actions, toggles availability of the actions related to copilots, such as taking over controls, suspending controls, etc. This command triggers the `\"ControlsShifted\"` event handler.","syntaxes":[{"syntax":"vehicle enableCopilot enable","params":[{"name":"vehicle","type":"Object","description":"vehicle on which to toggle copilot actions","type_expr":"Object"},{"name":"enable","type":"Boolean","description":"enable or disable","type_expr":"Boolean"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"vehicle"},"right":{"text":"enable"}}],"examples":[{"text":"```sqf\nif (!isCopilotEnabled myHeli) then\n{\n    myHeli enableCopilot true;\n};\n```","code":["if (!isCopilotEnabled myHeli) then\n{\n\tmyHeli enableCopilot true;\n};"]}],"multiplayer":"Execute this command globally (e.g with remoteExec) to have it synced on all clients.","see_also":["isCopilotEnabled","currentPilot"],"notes":[{"user":"Strangepete","date":"2014-02-17T00:00:00Z","text":"Only enables the user actions, not who is in control - pilot can lock or unlock co-pilot controls in multiplayer while still true.\n\n- Actions: LockVehicleControl, UnlockVehicleControl, SuspendVehicleControl and TakeVehicleControl\n- You can use the Arma 3 Event Handler - ControlsShifted to detect Take and Release actions."}]}