UE5 Inventory and Item System
This page is part of the documentaiton for my UE5 Inventory and Item System

Storage Containers

UE5 Inventory and Item System Version: 3.0

    Storage containers provide your player with additional storage options when the inventory and bank just isn’t enough. Storage containers can be placed anywhere in the world, and can be used to store and retrieve items by any player.

    The only limitation with storage is for multiplayer only, and that is it will only let one person access the storage container at a time. This is to prevent a possible latency driven dupe. If you try to access a storage container being used by another player a message will be shown on the screen.

    Other than this, storage containers are nearly identical to the player inventory.

    Adding Storage Containers

    To add a storage container to your world navigate to the Blueprints/Interactables/Containers/StorageChest and drop a copy of BP_StorageContainer in your world. This blueprint is just a child of the one in the parent BP_Interactable_Container (in the parent folder) but with the added option to provide a few different visual styles for use in the demo world.

    After dropping the chest in the world the player will be able to use it right away, there is no additional configuration needed unless you would like to change the slot count.

    Changing Slot Counts

    The slot count can be adjusted by changing the value of SlotCount on the AC_Inventory component attached to the storage container blueprint.

    Changing Column Count

    Open the UI_StorageContainer blueprint located in the UIs/Containers/StorageContainer folder and switch the graph. From the variables panel select Column and change its value to the number of columns you want to appear before it wraps to the next line. After changing this value you are going to have to tweak the RepositionFromCenter event being called during the construct of this UI to line it back up with the inventory. Changing this will affect all containers in your game that use this UI.

    This documentation and asset version are new. If you encounter any bugs or if anything doesn't make sense, please let me know.