enginesIsOnRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|M...)
m (Text replacement - " \|= Parameter " to " ")
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma3
|game1= arma3
|version1= 1.34


|gr1= RTD
|gr1= RTD


|descr=Returns which engines are producing some work.
{{Feature|afm}}


|s1= [[enginesIsOnRTD]] RTD_helicopter


|1.34
|p1= RTD_helicopter: [[Object]]


|Returns which engines are producing some work.{{Feature|afm}}
|r1= [[Array]] of [[Boolean]]s - value for each engine


| [[enginesIsOnRTD]] RTD_helicopter
|x1= <sqf>_enginesTaru = enginesIsOnRTD _taru; // returns [true, true]</sqf>


|p1= RTD_helicopter: [[Object]] |= Parameter
|seealso= [[isObjectRTD]] [[enginesRpmRTD]] [[enginesTorqueRTD]] [[wingsForcesRTD]] [[engineOn]]
 
| [[Array]] -  [<nowiki/>[[Boolean]] value for each engine]
 
 
|x1= <code>_enginesTaru = [[enginesIsOnRTD]] _taru// Returns [true,true]</code>
 
 
| [[isObjectRTD]], [[enginesRpmRTD]], [[enginesTorqueRTD]], [[wingsForcesRTD]], [[engineOn]]
 
|
}}
}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 17:03, 15 August 2022

Hover & click on the images for description

Description

Description:
Returns which engines are producing some work.
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:
enginesIsOnRTD RTD_helicopter
Parameters:
RTD_helicopter: Object
Return Value:
Array of Booleans - value for each engine

Examples

Example 1:
_enginesTaru = enginesIsOnRTD _taru; // returns [true, true]

Additional Information

See also:
isObjectRTD enginesRpmRTD enginesTorqueRTD wingsForcesRTD engineOn

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