numberOfEnginesRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "")
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
Line 4: Line 4:
|version1= 1.00
|version1= 1.00


|gr1= RTD
|gr1= RTD


|game2= arma3
|game2= arma3
Line 11: Line 11:
|descr= Returns the number of engines a helicopter has. {{Feature|afm}}
|descr= Returns the number of engines a helicopter has. {{Feature|afm}}


|s1= [[numberOfEnginesRTD]] helicopterRTD
|s1= [[numberOfEnginesRTD]] helicopterRTD


|p1= helicopterRTD: [[ObjectRTD]] - helicopter
|p1= helicopterRTD: [[ObjectRTD]] - helicopter

Revision as of 22:20, 19 June 2021

Hover & click on the images for description

Description

Description:
Returns the number of engines a helicopter has.
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:
numberOfEnginesRTD helicopterRTD
Parameters:
helicopterRTD: ObjectRTD - helicopter
Return Value:
Number

Examples

Example 1:
_engineCount = numberOfEnginesRTD vehicle player;

Additional Information

See also:
See also needed

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