getEngineTargetRPMRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>\[\[private\]\] _([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\] _([a-zA-Z0-9_]+);?<\/code>" to "<sqf>private _$1 = $2 _$3;</sqf>")
m (Some wiki formatting)
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
|p1= helicopter: [[Object]]
|p1= helicopter: [[Object]]


|r1= [[Array]] - Array of [[Number|numbers]] with the RPM of each engine
|r1= [[Array]] of [[Number]]s with the RPM of each engine


|x1= <sqf>private _rpm = getEngineTargetRPMRTD _helicopter;</sqf>
|x1= <sqf>private _rpm = getEngineTargetRPMRTD _helicopter;</sqf>

Latest revision as of 14:51, 8 November 2023

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 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