setBrakesRTD

From Bohemia Interactive Community
Revision as of 20:37, 10 January 2021 by Lou Montana (talk | contribs) (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Enable landing gear wheel brakes for a helicopter.
  • value 0: brakes off
  • value 1: brakes on
  • index 1: left wheels
  • index 2: right wheels
  • index 3: both sides
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.
This command is implemented, but not fully supported.
Groups:
RTD

Syntax

Syntax:
helicopterRTD setBrakesRTD [value, wheelIndex]
Parameters:
helicopterRTD: ObjectRTD - helicopter
value: Number - value of the brakes
wheelIndex: Number - wheel index
Return Value:
Nothing

Examples

Example 1:
myHelicopterRTD setBrakesRTD [1, 3];

Additional Information

See also:
See also needed

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