2015-02-15 17:11:50 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2021-10-11 20:48:30 +00:00
|
|
|
["CBA_settingsInitialized", {
|
2016-12-22 19:29:05 +00:00
|
|
|
TRACE_1("settingsInit eh",GVAR(distanceCoefficient));
|
|
|
|
if (GVAR(distanceCoefficient) <= 0) exitWith {};
|
2016-02-06 21:17:27 +00:00
|
|
|
|
2016-12-22 19:29:05 +00:00
|
|
|
["ace_overpressure", LINKFUNC(overpressureDamage)] call CBA_fnc_addEventHandler;
|
|
|
|
|
|
|
|
// Register fire event handler
|
|
|
|
["ace_firedPlayer", LINKFUNC(firedEHBB)] call CBA_fnc_addEventHandler;
|
|
|
|
["ace_firedPlayerVehicle", LINKFUNC(firedEHOP)] call CBA_fnc_addEventHandler;
|
2022-08-01 17:32:02 +00:00
|
|
|
|
|
|
|
GVAR(cacheHash) = createHashMap;
|
2016-12-22 19:29:05 +00:00
|
|
|
}] call CBA_fnc_addEventHandler;
|