enableCoPilot: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
Killzone Kid (talk | contribs) (locality see also) |
||
Line 5: | Line 5: | ||
| TKOH |= Game name | | TKOH |= Game name | ||
|arg= global |Multiplayer Arguments= | |||
|eff= local |Multiplayer Effects= | |||
|1.00|= Game version | |1.00|= Game version | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| 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.). This command triggers <tt>"ControlsShifted"</tt> event handler.<br><br> | ||
{{Informative | In multiplayer, execute this command globally to have it synced on all clients}} |DESCRIPTION= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 20: | Line 22: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>myHelicopter enableCoPilot true;</code> |= | |x1= <code>myHelicopter [[enableCoPilot]] true;</code> |= | ||
| | | [[isCopilotEnabled]] |SEEALSO= | ||
}} | }} |
Revision as of 14:54, 21 August 2019
Description
- Description:
- Toggles availability of the actions related to copilots (taking over controls, suspending controls, etc.). This command triggers "ControlsShifted" event handler.
- 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:
- isCopilotEnabled
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