enableCoPilot: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| TKOH |Game name=
| TKOH |Game name=
Line 7: Line 6:


|gr1= Object Manipulation |GROUP1=
|gr1= Object Manipulation |GROUP1=
____________________________________________________________________________________________


| Toggles availability of the actions related to copilots (taking over controls, suspending controls, etc.). For Arma 3 version see [[enableCopilot]] |DESCRIPTION=
| Toggles availability of the actions related to copilots (taking over controls, suspending controls, etc.). For Arma 3 version see [[enableCopilot]] |DESCRIPTION=
____________________________________________________________________________________________


| helicopter '''enableCoPilot''' enable|SYNTAX=
| helicopter '''enableCoPilot''' enable|SYNTAX=
Line 18: Line 15:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________


|x1= <code>myHelicopter [[enableCoPilot]] true;</code> |=
|x1= <code>myHelicopter [[enableCoPilot]] true;</code> |=

Revision as of 01:16, 17 January 2021

Hover & click on the images for description

Description

Description:
Toggles availability of the actions related to copilots (taking over controls, suspending controls, etc.). For Arma 3 version see enableCopilot
Groups:
Object Manipulation

Syntax

Syntax:
helicopter enableCoPilot enable
Parameters:
helicopter: Object - helicopter on which to toggle copilot actions
enable: Boolean - enable or disable
Return Value:
Nothing

Examples

Example 1:
myHelicopter enableCoPilot true;

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section