Difference between revisions of "getRotorBrakeRTD"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{Feature[ _]AFM" to "{{Feature|AFM")
m (Text replacement - "<code>_([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\] _([a-zA-Z0-9_]+);?<\/code>" to "<sqf>_$1 = $2 _$3;</sqf>")
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
+
{{RV|type=command
____________________________________________________________________________________________
 
  
| TKOH |Game name=
+
|game1= tkoh
 +
|version1= 1.00
  
|gr1= RTD |GROUP1=
+
|gr1= RTD
  
|1.00|Game version=
+
|game2= arma3
 +
|version2=1.34
  
| game2= arma 3 |Game2name=
+
|descr= Returns if rotor break is on.
 +
{{Feature|afm}}
  
|version2=1.34|Game 2 Version=
+
|s1= [[getRotorBrakeRTD]] helicopter
  
____________________________________________________________________________________________
+
|p1= helicopter : [[Object]]
  
| Returns if rotor break is on.
+
|r1= [[Boolean]] - [[true]] if on, otherwise [[false]]
{{Feature|AFM}} |DESCRIPTION=
 
____________________________________________________________________________________________
 
  
| [[getRotorBrakeRTD]] helicopter |SYNTAX=
+
|x1= <sqf>_isOn = getRotorBrakeRTD _heli;</sqf>
 
 
|p1= helicopter : [[Object]] |PARAMETER1=
 
 
 
| [[Boolean]] - [[true]] if on, otherwise [[false]] |RETURNVALUE=
 
____________________________________________________________________________________________
 
 
 
|x1= <code>_isOn = [[getRotorBrakeRTD]] _heli;</code> |=
 
 
 
|[[setRotorBrakeRTD]]|SEEALSO=
 
  
 +
|seealso= [[setRotorBrakeRTD]]
 
}}
 
}}
 
<h3 style="display:none">Notes</h3>
 
<dl class="command_description">
 
<!-- Note Section BEGIN -->
 
 
<!-- Note Section END -->
 
</dl>
 
 
<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