BIN_fnc_empVehicle

From Bohemia Interactive Community
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Hover & click on the images for description

Description

Description:
Sets EMP parameters to a vehicle. Destroys lights and optionally prevents vehicle from starting
The player has to be defined as BIN_player for the voice lines to be spoken.
enoch icon ca.png
This content is exclusive to the Arma 3 Contact Expansion.
Execution:
call
Groups:
Contact

Syntax

Syntax:
[obj, destroyEngine, aiExit] call BIN_fnc_empVehicle
Parameters:
obj: Object - the vehicle
destroyEngine: Boolean - (Optional, default true) true to destroys the engine, false to have it working
aiExit: Boolean - (Optional, default true) AI behaviour in vehicle; true to make them exit the vehicle, false to remain in it
Return Value:
Return value needed

Examples

Example 1:
[_enemyVehicle, true, true] call BIN_fnc_empVehicle;

Additional Information

See also:
setDamage setHitPointDamage

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note