enableCoPilot: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(First draft documentation for new TKOH command)
 
m (template:command argument fix)
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Toggles availability of the actions related to copilots (taking over controls, suspending controls, etc.). |= Description
| Toggles availability of the actions related to copilots (taking over controls, suspending controls, etc.). |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| helicopter '''enableCoPilot''' enable|= Syntax
| helicopter '''enableCoPilot''' enable|SYNTAX=


|p1= helicopter: [[Object]] - helicopter on which to toggle copilot actions |= Parameter 1
|p1= helicopter: [[Object]] - helicopter on which to toggle copilot actions |PARAMETER1=
|p2= enable: [[Boolean]] - enable or disable |= Parameter 2
|p2= enable: [[Boolean]] - enable or disable |PARAMETER2=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| -  |= See also
| -  |SEEALSO=


}}
}}

Revision as of 15:38, 7 April 2019


Hover & click on the images for description

Description

Description:
Toggles availability of the actions related to copilots (taking over controls, suspending controls, etc.).
Groups:
Uncategorised

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:
-

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