ACE3/addons/vehicles/CfgEventHandlers.hpp

36 lines
976 B
C++
Raw Permalink Normal View History

2015-01-16 13:20:41 +00:00
2016-02-22 14:20:36 +00:00
class Extended_PreStart_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_SCRIPT(XEH_preStart));
2016-02-22 14:20:36 +00:00
};
};
2015-01-16 13:20:41 +00:00
class Extended_PreInit_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_SCRIPT(XEH_preInit));
2015-01-16 13:20:41 +00:00
};
};
2015-01-18 20:00:43 +00:00
class Extended_PostInit_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_SCRIPT(XEH_postInit));
2015-01-18 20:00:43 +00:00
};
};
2015-01-16 13:20:41 +00:00
class Extended_Engine_EventHandlers {
class AllVehicles {
2015-01-16 13:20:41 +00:00
class ACE_EngineStartDelay {
clientEngine = QUOTE(if (local driver (_this select 0)) then {_this call FUNC(startEngine)};);
};
};
};
2015-04-08 11:06:06 +00:00
class Extended_Init_EventHandlers {
class StaticWeapon {
class ACE_FixMass {
init = QUOTE(if (local (_this select 0)) then {(_this select 0) setMass (getMass (_this select 0) max 250)};);
exclude[] = {"TargetSoldierBase","Static_Designator_01_base_F","Static_Designator_02_base_F","Pod_Heli_Transport_04_base_F"};
};
};
};