enableCopilot

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 0.50
  Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are broadcasted over the network and happen on every computer in the network

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
0.50

Description

Description:
Enables copilot actions.

Syntax

Syntax:
vehicle enableCopilot enable
Parameters:
vehicle: Object
enable: Boolean
Return Value:
Nothing

Examples

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

Additional Information

Multiplayer:
-
See also:
isCopilotEnabled

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Posted on February 17, 2014
Strangepete
Only enables the user actions, not who is in control - pilot can lock or unlock co-pilot controls in multiplayer while still true.

Bottom Section