setBrakesRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *tkoh *\| *(New )?Scripting Commands\}\}" to "")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


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


|gr1= RTD
|gr1= RTD


|1.00
|descr= Enable landing gear wheel brakes for a helicopter.
 
| Enable landing gear wheel brakes for a helicopter.
* value 0: brakes off
* value 0: brakes off
* value 1: brakes on
* value 1: brakes on
Line 17: Line 19:
{{Feature|Informative|This command is implemented, but not fully supported.}}
{{Feature|Informative|This command is implemented, but not fully supported.}}


|s1=  helicopterRTD '''setBrakesRTD''' [value, wheelIndex]
|s1=  helicopterRTD [[setBrakesRTD]] [value, wheelIndex]


|p1= helicopterRTD: [[ObjectRTD]] - helicopter
|p1= helicopterRTD: [[ObjectRTD]] - helicopter
|p2= value: [[Number]] - value of the brakes
|p2= value: [[Number]] - value of the brakes
|p3= wheelIndex: [[Number]] - wheel index
|p3= wheelIndex: [[Number]] - wheel index


Line 26: Line 30:


|x1= <code>myHelicopterRTD [[setBrakesRTD]] [1, 3];</code>
|x1= <code>myHelicopterRTD [[setBrakesRTD]] [1, 3];</code>
|seealso=
}}
}}
{{GameCategory|arma3|Scripting Commands}}

Revision as of 15:03, 13 June 2021

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