Arma 3 Scripting

isEngineOn

  • Global argument
  • Arma 3 v0.50
  • First in Operation Flashpoint v1.90

Command · Markdown · JSON · original wiki page

Description

Returns true if engine is on, false if it is off.

Syntax

isEngineOn vehicle

Parameters:

Returns: Boolean

Examples

Example 1

_carEngineIsOn = isEngineOn _carOne;

See also

engineOn · setCollisionLight · isLightOn · isCollisionLightOn

Community notes

Sa-Matra

If you're a client (not server) and check remote vehicle that is far away from the camera, you'll get an outdated engine state until the vehicle and client camera position are close to each other. Distance seems to be around 6km and doesn't depend on video settings.