setRotorBrakeRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game version" to "|Game version=")
m (fixed parameters for hemtt)
 
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands]]
{{RV|type=command


{{Command|= Comments
|game1= tkoh
____________________________________________________________________________________________
|version1= 1.00


| TKOH |Game name=
|game2= arma3
|version2= 1.34


|1.00|Game version=
|gr1= RTD


| game2= arma 3 |=
|descr= Toggles a helicopter's rotor brake. {{Feature|afm}}
|version2=1.34|=
____________________________________________________________________________________________


| Toggle a helicopter's rotor brake on or off.
|s1= helicopterRTD [[setRotorBrakeRTD]] enable
 
|p1= helicopterRTD : [[Object]] - helicopter
 
|p2= enable: [[Number]] - can be:
* 0: off
* 0: off
* 1: on  
* 1: on  
{{Feature AFM}}|DESCRIPTION=
____________________________________________________________________________________________
| helicopterRTD '''setRotorBrakeRTD''' enable|SYNTAX=
|p1= helicopterRTD : [[ObjectRTD]] - helicopter |PARAMETER1=
|p2= enable : [[Number]] - on or off |PARAMETER2=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________


|x1= <code>myHelicopterRTD setRotorBrakeRTD 1;</code> |=
|r1= [[Nothing]]


| - |SEEALSO=
|x1= <sqf>myHelicopterRTD setRotorBrakeRTD 1;</sqf>


|seealso= [[getRotorBrakeRTD]]
}}
}}
<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}}}}]]
[[Category:Command Group: RTD|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 16:41, 7 April 2024

Hover & click on the images for description

Description

Description:
Toggles a helicopter's rotor brake.
Advanced Helicopter Flight Model
For this command to have any effect, the Advanced Flight Model (AFM) has to be enabled. AFM status can be checked with difficultyEnabledRTD.
Groups:
RTD

Syntax

Syntax:
helicopterRTD setRotorBrakeRTD enable
Parameters:
helicopterRTD : Object - helicopter
enable: Number - can be:
  • 0: off
  • 1: on
Return Value:
Nothing

Examples

Example 1:
myHelicopterRTD setRotorBrakeRTD 1;

Additional Information

See also:
getRotorBrakeRTD

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