ACE3/addons/overpressure/XEH_postInit.sqf

13 lines
486 B
Plaintext
Raw Permalink Normal View History

2015-02-15 17:11:50 +00:00
#include "script_component.hpp"
["ace_settingsInitialized", {
TRACE_1("settingsInit eh",GVAR(distanceCoefficient));
if (GVAR(distanceCoefficient) <= 0) exitWith {};
2016-02-06 21:17:27 +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;
}] call CBA_fnc_addEventHandler;