ACE3/TO_MERGE/ace/sys_cargo/CfgEventHandlers.hpp
Giallustio e5f02f8d63 sys_cargo
sys_cargo to merge
2015-01-30 00:19:13 +01:00

27 lines
631 B
C++

class Extended_PreInit_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_FILE(XEH_preInit));
};
};
class Extended_PostInit_EventHandlers {
class ADDON {
clientInit = QUOTE(call COMPILE_FILE(XEH_postInit));
};
};
class Extended_Killed_EventHandlers {
class AllVehicles {
class ADDON {
killed = QUOTE(_this call FUNC(clearCargo));
exclude[] = {"Man"}; //Exclude Animals and Humans
};
};
};
class Extended_InitPost_EventHandlers {
class AllVehicles {
class ADDON {
Init = QUOTE(if (alive (_this select 0)) then {_this call FUNC(init)});
exclude[] = {"Man"}; //Exclude Animals and Humans
};
};
};