Difference between revisions of "getRotorBrakeRTD"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
m (Text replacement - "<code>_([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\] _([a-zA-Z0-9_]+);?<\/code>" to "<sqf>_$1 = $2 _$3;</sqf>")
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Command
+
{{RV|type=command
  
| TKOH
+
|game1= tkoh
 +
|version1= 1.00
  
 
|gr1= RTD
 
|gr1= RTD
  
|1.00
+
|game2= arma3
 +
|version2=1.34
  
| game2= arma 3 |Game2name=
+
|descr= Returns if rotor break is on.
 
 
|version2=1.34|Game 2 Version=
 
 
 
 
 
| Returns if rotor break is on.
 
 
{{Feature|afm}}
 
{{Feature|afm}}
  
| [[getRotorBrakeRTD]] helicopter
+
|s1= [[getRotorBrakeRTD]] helicopter
  
 
|p1= helicopter : [[Object]]
 
|p1= helicopter : [[Object]]
  
| [[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>
 
 
|[[setRotorBrakeRTD]]
 
  
 +
|seealso= [[setRotorBrakeRTD]]
 
}}
 
}}
 
<h3 style="display:none">Bottom Section</h3>
 

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