getRotorBrakeRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *([^=]{12,}) * \|s1=" to " |descr=$1 |s1=")
m (Text replacement - "<code>_([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\] _([a-zA-Z0-9_]+);?<\/code>" to "<sqf>_$1 = $2 _$3;</sqf>")
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| tkoh
|game1= tkoh
|version1= 1.00


|1.00
|gr1= RTD
 
|gr1= RTD
 
|game2= arma 3


|game2= arma3
|version2=1.34
|version2=1.34


Line 14: Line 12:
{{Feature|afm}}
{{Feature|afm}}


|s1= [[getRotorBrakeRTD]] helicopter
|s1= [[getRotorBrakeRTD]] helicopter


|p1= helicopter : [[Object]]
|p1= helicopter : [[Object]]


|r1=[[Boolean]] - [[true]] if on, otherwise [[false]]
|r1= [[Boolean]] - [[true]] if on, otherwise [[false]]


|x1= <code>_isOn = [[getRotorBrakeRTD]] _heli;</code>
|x1= <sqf>_isOn = getRotorBrakeRTD _heli;</sqf>


|seealso= [[setRotorBrakeRTD]]
|seealso= [[setRotorBrakeRTD]]
}}
}}

Latest revision as of 22:23, 7 May 2022

Hover & click on the images for description

Description

Description:
Returns if rotor break is on.
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:
getRotorBrakeRTD helicopter
Parameters:
helicopter : Object
Return Value:
Boolean - true if on, otherwise false

Examples

Example 1:
_isOn = getRotorBrakeRTD _heli;

Additional Information

See also:
setRotorBrakeRTD

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