BIN_fnc_empVehicle
Jump to navigation
Jump to search
Description
- Description:
- Sets EMP parameters to a vehicle. Destroys lights and optionally prevents vehicle from starting
- 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:
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