ACE3/addons/common/CfgEventHandlers.hpp

43 lines
1.1 KiB
C++
Raw Normal View History

2015-01-12 21:34:01 +00:00
2015-01-11 18:06:21 +00:00
class Extended_PreInit_EventHandlers {
2015-01-12 21:34:01 +00:00
class ADDON {
init = QUOTE(call COMPILE_FILE(XEH_preInit) );
serverInit = QUOTE(call COMPILE_FILE(scripts\readParameters) );
disableModuload = true;
};
2015-01-11 18:06:21 +00:00
};
class Extended_PostInit_EventHandlers {
2015-01-12 21:34:01 +00:00
class ADDON {
init = QUOTE(call COMPILE_FILE(XEH_postInit) );
disableModuload = true;
};
2015-01-11 18:06:21 +00:00
};
class Extended_InitPost_EventHandlers {
2015-01-12 21:34:01 +00:00
class All {
class GVAR(executePersistent) {
init = QUOTE([_this select 0] call FUNC(executePersistent) );
};
2015-01-11 18:06:21 +00:00
};
2015-01-12 21:34:01 +00:00
class CAManBase {
class GVAR(setName) {
init = QUOTE(if (local (_this select 0)) then { _this call FUNC(setName) }; );
};
class GVAR(forceWalk) {
init = QUOTE(if (local (_this select 0)) then { _this call FUNC(applyForceWalkStatus); }; );
};
2015-01-11 18:06:21 +00:00
};
};
class Extended_Respawn_EventHandlers {
2015-01-12 21:34:01 +00:00
class All {
class GVAR(restoreVariablesJIP) {
respawn = QUOTE(_this call FUNC(restoreVariablesJIP) );
};
class GVAR(setName) {
respawn = QUOTE(_this call FUNC(setName) );
};
2015-01-11 18:06:21 +00:00
};
2015-01-12 21:34:01 +00:00
};