---
name: "engineOn"
type: command
status: ok
groups: ["Object Manipulation"]
arma3_since: "0.50"
locality: {"argument": "local", "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/engineOn
revid: 337565
updated: 2023-02-10T01:12:53Z
---

# engineOn

*Command · Object Manipulation · Arma 3 v0.50 · introduced in Operation Flashpoint v1.90*

Locality: arguments **local** · effect **global**

## Description

Activates and deactivates the engine of a vehicle.

## Syntax

```sqf
vehicle engineOn state
```

**Parameters:**

- `vehicle`: [Object](../topics/Object.md)
- `state`: [Boolean](../topics/Boolean.md) - [true](../commands/true.md) to turn the engine on, [false](../commands/false.md) to turn it off

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
if (!isEngineOn _jeep) then { _jeep engineOn true; };
```

### Example 2

```sqf
waitUntil { player == driver _jeep; };
vehicle player engineOn true;
```

## Multiplayer

Executed on a remote vehicle this command may turn the engine on but then it will get turned off by itself after a short while.

## See also

[isEngineOn](../commands/isEngineOn.md)

## Community notes

**Benargee** — 2014-08-25

To switch engine off can also use [setFuel](../commands/setFuel.md) and [fuel](../commands/fuel.md):

```sqf
private "_gas";
_gas = fuel heli;
heli setFuel 0;
sleep 0.01;
heli setFuel _gas;
```

Also sets helicopter fuel back to original quantity. Works on every other vehicle.

<sub>Source: [BI Community Wiki — engineOn](https://community.bistudio.com/wiki/engineOn) (revision 337565).</sub>
