2015-01-13 04:17:52 +00:00
|
|
|
|
|
|
|
class Extended_PreInit_EventHandlers {
|
|
|
|
class ADDON {
|
|
|
|
init = QUOTE(call COMPILE_FILE(XEH_preInit) );
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Extended_PostInit_EventHandlers {
|
|
|
|
class ADDON {
|
2015-01-14 02:00:48 +00:00
|
|
|
clientInit = QUOTE( call COMPILE_FILE(XEH_postInit) );
|
2015-01-13 04:17:52 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Extended_Init_EventHandlers {
|
|
|
|
class CAManBase {
|
|
|
|
class GVAR(AddEarPlugs) {
|
|
|
|
init = QUOTE( if (local (_this select 0)) then {_this call FUNC(addEarPlugs)}; );
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Extended_FiredNear_EventHandlers {
|
|
|
|
class CAManBase {
|
|
|
|
class GVAR(FiredNear) {
|
2015-03-16 23:28:37 +00:00
|
|
|
clientFiredNear = QUOTE( if (GVAR(enableCombatDeafness) && {_this select 0 == ACE_player}) then {_this call FUNC(firedNear)}; );
|
2015-01-13 04:17:52 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Extended_Explosion_EventHandlers {
|
|
|
|
class CAManBase {
|
|
|
|
class GVAR(ExplosionNear) {
|
2015-03-16 23:28:37 +00:00
|
|
|
clientExplosion = QUOTE( if (GVAR(enableCombatDeafness) && {_this select 0 == ACE_player}) then {_this call FUNC(explosionNear)}; );
|
2015-01-13 04:17:52 +00:00
|
|
|
};
|
|
|
|
};
|
2015-03-16 23:28:37 +00:00
|
|
|
};
|