mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Interaction/Dragging - Remove actions from scripted weaponHolders (#9541)
remove actions from scripted holders
This commit is contained in:
parent
124798cb8d
commit
55566fd60f
@ -42,6 +42,13 @@ class Extended_Init_EventHandlers {
|
|||||||
class WeaponHolder {
|
class WeaponHolder {
|
||||||
class ADDON {
|
class ADDON {
|
||||||
init = QUOTE(_this call FUNC(initObject));
|
init = QUOTE(_this call FUNC(initObject));
|
||||||
|
exclude[] = {"GroundWeaponHolder_Scripted"};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
class WeaponHolderSimulated {
|
||||||
|
class ADDON {
|
||||||
|
init = QUOTE(_this call FUNC(initObject));
|
||||||
|
exclude[] = {"WeaponHolderSimulated_Scripted"};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
class Land_Camping_Light_F {
|
class Land_Camping_Light_F {
|
||||||
|
@ -715,6 +715,14 @@ class CfgVehicles {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
// Don't enable for scripted
|
||||||
|
class WeaponHolderSimulated_Scripted: WeaponHolderSimulated {
|
||||||
|
class ACE_Actions: ACE_Actions {
|
||||||
|
class ACE_MainActions: ACE_MainActions {
|
||||||
|
delete GVAR(Gear);
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
class ReammoBox;
|
class ReammoBox;
|
||||||
// dropped weapons/gear
|
// dropped weapons/gear
|
||||||
@ -733,6 +741,19 @@ class CfgVehicles {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
// Don't enable for scripted
|
||||||
|
class GroundWeaponHolder: WeaponHolder {
|
||||||
|
class ACE_Actions: ACE_Actions {
|
||||||
|
class ACE_MainActions;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
class GroundWeaponHolder_Scripted: GroundWeaponHolder {
|
||||||
|
class ACE_Actions: ACE_Actions {
|
||||||
|
class ACE_MainActions: ACE_MainActions {
|
||||||
|
delete GVAR(Gear);
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
class Lamps_base_F;
|
class Lamps_base_F;
|
||||||
class Land_PortableLight_single_F: Lamps_base_F {
|
class Land_PortableLight_single_F: Lamps_base_F {
|
||||||
|
Loading…
Reference in New Issue
Block a user