fixes situation where raise is canceling some manipulation with heavy item(ex. TakeItemToHands), forces normal stance
2813 {
2814 super.EEItemIntoHands(item);
2815
2816 if (item)
2817 {
2818 MiscGameplayFunctions.RemoveAllAttachedChildrenByTypename(item, {Bolt_Base});
2819
2820 Weapon_Base w;
2821 if (Class.CastTo(w, item))
2822 {
2823 w.ResetWeaponAnimState();
2824
2826 if (cm)
2827 {
2829 GetMeleeFightLogic().SetBlock(false);
2830 }
2831 }
2832
2834 if (item.IsHeavyBehaviour() && IsRaised())
2835 {
2837 if (cm2)
2838 {
2840 }
2841 }
2842
2844 }
2845 }
proto native void ForceStance(int pStanceIdx)
proto native void SetMeleeBlock(bool pBlock)
this enables/disables block
DayZPlayerConstants
defined in C++
class HumanItemBehaviorCfg OnItemInHandsChanged(bool pInstant=false)
signalization from script to engine that item in hands changed