Arma 3 Scripting

Function in Contact

BIN_fnc_empVehicle

Also available as Markdown and JSON, or read the 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