setBrakesRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Cat RTD)
m (Text replacement - "{{Feature|Informative|" to "{{Feature|informative|")
 
(32 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands]]
{{RV|type=command


{{Command|= Comments
|game1= tkoh
____________________________________________________________________________________________
|version1= 1.00


| TKOH |= Game name
|game2= arma3
|version2= 1.34


|1.00|= Game version
|gr1= RTD
____________________________________________________________________________________________


| Enable landing gear wheel brakes for a helicopter.
|descr= 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 16: Line 16:
* index 2: right wheels
* index 2: right wheels
* index 3: both sides
* index 3: both sides
{{Feature|afm}}
{{Feature|informative|This command is implemented, but not fully supported.}}


'''Note: this command is implemented, but not fully supported yet. Stay tuned for a future update.''' |= Description
|s1= helicopterRTD [[setBrakesRTD]] [value, wheelIndex]
____________________________________________________________________________________________


| helicopterRTD '''setBrakesRTD''' [value, wheelIndex]|= Syntax
|p1= helicopterRTD: [[ObjectRTD]] - helicopter


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


| [[Nothing]] |= Return value
|p3= wheelIndex: [[Number]] - wheel index
____________________________________________________________________________________________


|x1= <code>myHelicopterRTD setBrakesRTD [1, 3];</code> |=
|r1= [[Nothing]]


| - |= See also
|x1= <sqf>myHelicopterRTD setBrakesRTD [1, 3];</sqf>


|seealso=
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Take On Helicopters: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: RTD|{{uc:{{PAGENAME}}}}]]

Latest revision as of 01:24, 2 February 2024

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