Arma 3 Scripting

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:

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

Community notes