getRotorBrakeRTD: Difference between revisions

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


| tkoh
|game1= tkoh
|version1= 1.00


|gr1= RTD
|gr1= RTD


|1.00
|game2= arma3
 
|game2= arma 3
 
|version2=1.34
|version2=1.34


| Returns if rotor break is on.
|descr= Returns if rotor break is on.
{{Feature|afm}}
{{Feature|afm}}


| [[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 21: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