11 #ifndef DISABLE_INVENTORY
20 override void Init(IEntity pOwnerEntity, GenericComponent pManagerComponent)
31 ChimeraCharacter character = ChimeraCharacter.Cast(
SCR_PlayerController.GetLocalControlledEntity());
35 CharacterControllerComponent controller = character.GetCharacterController();
39 if(!controller.GetInspect())
42 BaseWeaponManagerComponent weaponManager = controller.GetWeaponManagerComponent();
47 m_InventoryManager = SCR_InventoryStorageManagerComponent.Cast(character.FindComponent(SCR_InventoryStorageManagerComponent));
70 override protected void PerformActionInternal(SCR_InventoryStorageManagerComponent manager, IEntity pOwnerEntity, IEntity pUserEntity)
73 manager.TryMoveItemToStorage(
attachment, storage);
74 manager.PlayItemSound(pOwnerEntity,
"SOUND_UNEQUIP");
84 if (actionInfo && itemInfo)
86 outName =
string.Format(
"%1%2", actionInfo.GetName(), itemInfo.GetName());