setRotorBrakeRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|s([0-9])\= ([^' ]+)'''([^' ]+)'''([^ ]*) " to "|s$1= $2$3$4 ")
m (fixed parameters for hemtt)
 
(3 intermediate revisions by one other user not shown)
Line 13: Line 13:
|s1= helicopterRTD [[setRotorBrakeRTD]] enable
|s1= helicopterRTD [[setRotorBrakeRTD]] enable


|p1= helicopterRTD : [[Object]] - Helicopter
|p1= helicopterRTD : [[Object]] - helicopter


|p2= enable : [[Number]] - Can be:
|p2= enable: [[Number]] - can be:
* 0: off
* 0: off
* 1: on  
* 1: on  
Line 21: Line 21:
|r1= [[Nothing]]
|r1= [[Nothing]]


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


|seealso= [[getRotorBrakeRTD]]
|seealso= [[getRotorBrakeRTD]]
}}
}}

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