|
|
(15 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
| [[Category:Scripting Commands]] | | #REDIRECT [[enableCopilot]] |
| | |
| {{Command|= Comments
| |
| ____________________________________________________________________________________________
| |
| | |
| | TKOH |= Game name
| |
| |arg= global |Multiplayer Arguments=
| |
| |eff= local |Multiplayer Effects=
| |
| |1.00|= Game version
| |
| ____________________________________________________________________________________________
| |
| | |
| | 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=
| |
| ____________________________________________________________________________________________
| |
| | |
| | helicopter '''enableCoPilot''' enable|SYNTAX=
| |
| | |
| |p1= helicopter: [[Object]] - helicopter on which to toggle copilot actions |PARAMETER1=
| |
| |p2= enable: [[Boolean]] - enable or disable |PARAMETER2=
| |
| | |
| | [[Nothing]] |RETURNVALUE=
| |
| ____________________________________________________________________________________________
| |
| | |
| |x1= <code>myHelicopter [[enableCoPilot]] true;</code> |=
| |
| | |
| | [[isCopilotEnabled]] |SEEALSO=
| |
| | |
| }}
| |
| | |
| <h3 style="display:none">Notes</h3>
| |
| <dl class="command_description">
| |
| <!-- Note Section BEGIN -->
| |
| | |
| <!-- Note Section END -->
| |
| </dl>
| |
| | |
| <h3 style="display:none">Bottom Section</h3>
| |
| [[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
| |
| [[Category:Take On Helicopters: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
| |