Adding New Inventory Tab

Basic tutorial on how to add another Inventory tab

1

Add new Inventory Tab enum

Open E_InventoryTabs and add new enumerator, in this example we will add Extra 4 tab and re-order the rest by making Weapons a separate tab. Depending on your project scope you may just need to add another tab and don't worry about the rest.

2

Adding New tab to the Inventory Component

Open AC_PlayerInventory then go to Class Defaults and add another element to the Inventory Tabs variable. In this example we will re-order the Item Types by moving the Item.Type.Armor to Extra 1.

3

Adding another tab button to the UI

Open WBP_PlayerItemContainer, duplicate one of the Button Tabs and change the Tab Enum on it. In this example we will also change the button icons so that Weapons and Armor are separated.

Last updated