enableCoPilot: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\|= " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| TKOH | | TKOH | ||
|1.00 | |1.00 | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
| Toggles availability of the actions related to copilots (taking over controls, suspending controls, etc.). For Arma 3 version see [[enableCopilot]] | | Toggles availability of the actions related to copilots (taking over controls, suspending controls, etc.). For Arma 3 version see [[enableCopilot]] | ||
| helicopter '''enableCoPilot''' enable | | helicopter '''enableCoPilot''' enable | ||
|p1= helicopter: [[Object]] - helicopter on which to toggle copilot actions | |p1= helicopter: [[Object]] - helicopter on which to toggle copilot actions | ||
|p2= enable: [[Boolean]] - enable or disable | |p2= enable: [[Boolean]] - enable or disable | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>myHelicopter [[enableCoPilot]] true;</code> | |x1= <code>myHelicopter [[enableCoPilot]] true;</code> | ||
| | | | ||
}} | }} |
Revision as of 00:33, 18 January 2021
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