ACE3/addons/backblast/CfgEventHandlers.hpp

18 lines
686 B
C++
Raw Normal View History

2015-01-14 04:15:58 +00:00
class Extended_PreInit_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_FILE(XEH_preInit) );
};
};
class Extended_FiredNear_EventHandlers {
class CAManBase {
class GVAR(LauncherBackblast) {
2015-01-14 04:32:38 +00:00
FiredNear = QUOTE( if (local (_this select 0) && {getNumber (configfile >> 'CfgWeapons' >> _this select 3 >> 'ACE_Backblast_Damage') > 0}) then {_this call FUNC(launcherBackblast)} );
2015-01-14 04:15:58 +00:00
};
class GVAR(TankDangerZone) {
2015-01-14 04:32:38 +00:00
FiredNear = QUOTE( if (local (_this select 0) && {getNumber (configfile >> 'CfgWeapons' >> _this select 3 >> 'ACE_DangerZone_Damage') > 0}) then {_this call FUNC(tankDangerZone)} );
2015-01-14 04:15:58 +00:00
};
};
};