Warning: file_put_contents(/ff_86322220437cb19a07a9459152e16ee7d28508d7efe6d7f0.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
enableCopilot - OFPEC Scripting Command Reference | OFPEC The Editing Center

vehicleName enableCopilot value

Operand types

vehicleName: Object
value: Boolean

Type of returned value

Description

Enables copilot actions.

Only enables the user actions, not who is in control of the vehicle.

Used In

Arma3

Example

if (!isCopilotEnabled myHeli) then {
myHeli enableCopilot true;
};

Advertisement