getEngineTargetRPMRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(added missing command)
 
m (Some wiki formatting)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|game1= tkoh
|game1= tkoh
 
|version1= 1.00
|version1= 1.00


|game2= arma3
|game2= arma3
 
|version2= 1.34
|version2= 1.34


|gr1= RTD
|gr1= RTD


|descr= Returns RPM of all engines. {{Feature|afm}}
|descr= Returns RPM of all engines. {{Feature|afm}}


|s1= [[getEngineTargetRPMRTD]] helicopter
|s1= [[getEngineTargetRPMRTD]] helicopter
Line 17: 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= <code>[[private]] _rpm = [[getEngineTargetRPMRTD]] _helicopter;</code>
|x1= <sqf>private _rpm = getEngineTargetRPMRTD _helicopter;</sqf>


|seealso= [[setWantedRPMRTD]] [[rotorsRpmRTD]] [[enginesRpmRTD]]
|seealso= [[setWantedRPMRTD]] [[rotorsRpmRTD]] [[enginesRpmRTD]]
}}
}}

Latest revision as of 15: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