enableCoPilot: Difference between revisions
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.). |= | | Toggles availability of the actions related to copilots (taking over controls, suspending controls, etc.). |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| helicopter '''enableCoPilot''' enable|= | | helicopter '''enableCoPilot''' enable|SYNTAX= | ||
|p1= helicopter: [[Object]] - helicopter on which to toggle copilot actions |= | |p1= helicopter: [[Object]] - helicopter on which to toggle copilot actions |PARAMETER1= | ||
|p2= enable: [[Boolean]] - enable or disable |= | |p2= enable: [[Boolean]] - enable or disable |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>myHelicopter enableCoPilot true;</code> |= | |x1= <code>myHelicopter enableCoPilot true;</code> |= | ||
| - |= | | - |SEEALSO= | ||
}} | }} |
Revision as of 14:38, 7 April 2019
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