Arma 3 Scripting

Command in RTD

numberOfEnginesRTD

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns the number of engines a helicopter has.

Note

afm: For this command to have any effect, the Advanced Flight Model (AFM) has to be enabled. AFM status can be checked with difficultyEnabledRTD.

Syntax

numberOfEnginesRTD helicopterRTD

Parameters:

Returns: Number

Examples

Example 1

_engineCount = numberOfEnginesRTD vehicle player;