getEngineTargetRPMRTD

From Bohemia Interactive Community
Revision as of 21:24, 7 May 2022 by Lou Montana (talk | contribs) (Text replacement - "<code>\[\[private\]\] _([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\] _([a-zA-Z0-9_]+);?<\/code>" to "<sqf>private _$1 = $2 _$3;</sqf>")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns RPM of all engines.
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:
getEngineTargetRPMRTD helicopter
Parameters:
helicopter: Object
Return Value:
Array - Array of numbers with the RPM of each engine

Examples

Example 1:
private _rpm = getEngineTargetRPMRTD _helicopter;

Additional Information

See also:
setWantedRPMRTD rotorsRpmRTD enginesRpmRTD

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