ACE3/addons/core/CfgEventHandlers.hpp

41 lines
1.1 KiB
C++
Raw Normal View History

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