Home Scripting Commands Object Manipulation enableCopilot enableCopilot
Global argument Local effect Arma 3 v0.50 First in Take On Helicopters v1.01
Command · Markdown · JSON · original wiki page
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.
Syntax
vehicle enableCopilot enable
Parameters:
vehicle: Object - vehicle on which to toggle copilot actions
enable: Boolean - enable or disable
Returns: Nothing
Examples
Example 1
if (!isCopilotEnabled myHeli) then
{
myHeli enableCopilot true ;
};
Multiplayer
Execute this command globally (e.g with remoteExec ) to have it synced on all clients.
See also
isCopilotEnabled · currentPilot
Only enables the user actions, not who is in control - pilot can lock or unlock co-pilot controls in multiplayer while still true.