setRotorBrakeRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([a-zA-Z0-9_]+) +\[\[([a-zA-Z0-9_]+)\]\] +([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2 $3;</sqf>")
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2")
Line 15: Line 15:
|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  

Revision as of 14:59, 8 November 2023

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