mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
1b8c56f0be
* Add interaction to inventory holders * Add Take Weapon action * Add Drag/Carry actions * Fix menu position * Add Inventory action also to unconscious * Underwater: Fix menu position, disable gear action * Add dead body weapons carrying with workaround * Disable man gear action in water * Optimize position code * Fix macro using * Use macro and power * Restrict max dragged items count * Remove superfluous condition, Add Take action to all holders * Cleanup XEH * Remove weapon carry-drop workaround * code style changes * code style changes * brackets, isEqualTo, vehicle check * code style changes * brackets, isEqualTo, vehicle check --------- Co-authored-by: Salluci <salluci.lovi@gmail.com>
62 lines
1.4 KiB
C++
62 lines
1.4 KiB
C++
|
|
class Extended_PreStart_EventHandlers {
|
|
class ADDON {
|
|
init = QUOTE(call COMPILE_SCRIPT(XEH_preStart));
|
|
};
|
|
};
|
|
|
|
class Extended_PreInit_EventHandlers {
|
|
class ADDON {
|
|
init = QUOTE(call COMPILE_SCRIPT(XEH_preInit));
|
|
};
|
|
};
|
|
|
|
class Extended_PostInit_EventHandlers {
|
|
class ADDON {
|
|
init = QUOTE(call COMPILE_SCRIPT(XEH_postInit));
|
|
};
|
|
};
|
|
|
|
class Extended_Init_EventHandlers {
|
|
class CAManBase {
|
|
class ADDON {
|
|
init = QUOTE(_this call DFUNC(initPerson));
|
|
exclude[] = {"VirtualMan_F"};
|
|
};
|
|
};
|
|
class StaticWeapon {
|
|
class ADDON {
|
|
init = QUOTE(_this call DFUNC(initObject));
|
|
};
|
|
};
|
|
class Thing {
|
|
class ADDON {
|
|
init = QUOTE(_this call DFUNC(initObject));
|
|
exclude[] = {"ModuleEmpty_F", "ThingEffect", "Wreck"};
|
|
};
|
|
};
|
|
class NonStrategic {
|
|
class ADDON {
|
|
init = QUOTE(_this call DFUNC(initObject));
|
|
};
|
|
};
|
|
class WeaponHolder {
|
|
class ADDON {
|
|
init = QUOTE(_this call DFUNC(initObject));
|
|
};
|
|
};
|
|
class Land_Camping_Light_F {
|
|
class ADDON {
|
|
init = QUOTE(_this call DFUNC(initObject));
|
|
};
|
|
};
|
|
};
|
|
|
|
class Extended_Killed_EventHandlers {
|
|
class CAManBase {
|
|
class ADDON {
|
|
killed = QUOTE(_this call DFUNC(handleKilled));
|
|
};
|
|
};
|
|
};
|