setRotorBrakeRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:Take[ _]On[ _]Helicopters:[ _]New[ _]Scripting[ _]Commands[ _]List(\|[^]]+)?\]\] " to "")
m (fixed parameters for hemtt)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| TKOH
|game1= tkoh
|version1= 1.00
 
|game2= arma3
|version2= 1.34


|gr1= RTD
|gr1= RTD


|descr= Toggles a helicopter's rotor brake. {{Feature|afm}}


|s1= helicopterRTD [[setRotorBrakeRTD]] enable


|1.00
|p1= helicopterRTD : [[Object]] - helicopter
 
| game2= arma 3 |Game2name=
|version2=1.34


| Toggle a helicopter's rotor brake on or off.
|p2= enable: [[Number]] - can be:
* 0: off
* 0: off
* 1: on  
* 1: on  
{{Feature|afm}}
| helicopterRTD '''setRotorBrakeRTD''' enable


|p1= helicopterRTD : [[ObjectRTD]] - helicopter
|r1= [[Nothing]]
|p2= enable : [[Number]] - on or off


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


|seealso= [[getRotorBrakeRTD]]
}}
}}
{{GameCategory|tkoh|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 15: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