setRotorBrakeRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| TKOH |Game name=
| TKOH |Game name=
Line 12: Line 11:
| game2= arma 3 |Game2name=
| game2= arma 3 |Game2name=
|version2=1.34|=  
|version2=1.34|=  
____________________________________________________________________________________________


| Toggle a helicopter's rotor brake on or off.
| Toggle a helicopter's rotor brake on or off.
Line 18: Line 16:
* 1: on  
* 1: on  
{{Feature|afm}}|DESCRIPTION=
{{Feature|afm}}|DESCRIPTION=
____________________________________________________________________________________________


| helicopterRTD '''setRotorBrakeRTD''' enable|SYNTAX=
| helicopterRTD '''setRotorBrakeRTD''' enable|SYNTAX=
Line 26: Line 23:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________


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

Revision as of 03:33, 17 January 2021

Hover & click on the images for description

Description

Description:
Toggle a helicopter's rotor brake on or off.
  • 0: off
  • 1: on
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 : ObjectRTD - helicopter
enable : Number - on or off
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

Notes

Bottom Section