Arma 3 Scripting

BIN_fnc_empVehicle

  • Arma 3 v1.94

Function · Markdown · JSON · original wiki page

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

[obj, destroyEngine, aiExit] call BIN_fnc_empVehicle

Parameters:

Returns:

Examples

Example 1

[_enemyVehicle, true, true] call BIN_fnc_empVehicle;

See also

setDamage · setHitPointDamage