enginesIsOnRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
m (Text replacement - " \|= Parameter " to " ")
 
Line 11: Line 11:
|s1= [[enginesIsOnRTD]] RTD_helicopter
|s1= [[enginesIsOnRTD]] RTD_helicopter


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


|r1= [[Array]] of [[Boolean]]s - value for each engine
|r1= [[Array]] of [[Boolean]]s - value for each engine

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