mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
c22fce273f
* Add setting to overpressure * Change overpressure on 2a70 cannon Close #4691 Also fix gl smoke causing frag * Handle 2a28 cannon * Fix base class
13 lines
486 B
Plaintext
13 lines
486 B
Plaintext
#include "script_component.hpp"
|
|
|
|
["ace_settingsInitialized", {
|
|
TRACE_1("settingsInit eh",GVAR(distanceCoefficient));
|
|
if (GVAR(distanceCoefficient) <= 0) exitWith {};
|
|
|
|
["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;
|