---
name: "BIN_fnc_empVehicle"
type: function
status: ok
groups: ["Contact"]
arma3_since: "1.94"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIN_fnc_empVehicle
revid: 350046
updated: 2023-11-20T22:17:29Z
---

# BIN_fnc_empVehicle

*Function · Contact · Arma 3 v1.94*

## Description

Sets EMP parameters to a vehicle. Destroys lights and optionally prevents vehicle from starting

> [!NOTE]
> The player has to be defined as `BIN_player` for the voice lines to be spoken.

> [!NOTE]
> This content is exclusive to the Arma 3 Contact Expansion.

## Syntax

```sqf
[obj, destroyEngine, aiExit] call BIN_fnc_empVehicle
```

**Parameters:**

- `obj`: [Object](../topics/Object.md) - the vehicle
- `destroyEngine`: [Boolean](../topics/Boolean.md) - (Optional, default [true](../commands/true.md)) [true](../commands/true.md) to destroys the engine, [false](../commands/false.md) to have it working
- `aiExit`: [Boolean](../topics/Boolean.md) - (Optional, default [true](../commands/true.md)) AI behaviour in vehicle; [true](../commands/true.md) to make them exit the vehicle, [false](../commands/false.md) to remain in it

**Returns:** 

## Examples

### Example 1

```sqf
[_enemyVehicle, true, true] call BIN_fnc_empVehicle;
```

## See also

[setDamage](../commands/setDamage.md) · [setHitPointDamage](../commands/setHitPointDamage.md)

<sub>Source: [BI Community Wiki — BIN fnc empVehicle](https://community.bistudio.com/wiki/BIN_fnc_empVehicle) (revision 350046).</sub>
