Arma 3 Scripting

numberOfEnginesRTD

  • Arma 3 v1.34
  • First in Take On Helicopters v1.00

Command · Markdown · JSON · original wiki page

Description

Returns the number of engines a helicopter has.

Note

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.

Syntax

numberOfEnginesRTD helicopterRTD

Parameters:

Returns: Number

Examples

Example 1

_engineCount = numberOfEnginesRTD vehicle player;