I am unable to get my InventorySlot widget to update with the item icon when it is picked up and added to my BPC_InventorySystem component. I think I’m referencing something wrong within the BPC_InventorySystem component function called UpdateInventorySlot with the way the widgets are nested within each other. Can anyone help? Hope the screenshots can help with how I have some of the widgets and blueprints setup.
I have my BPC_InventorySystem with the following function
(BPC_InventorySystem - UpdateInventorySlot Function)
I have an input action in BP_BasePlayerController that brings up my WBP_GameMenu.
(BP_BasePlayerController - Event Graph)
WBP_GameMenu has a WidgetSwitcher to tab between WBP_QuestsMenu, WBP_MapMenu, WBP_CharacterMenu, WBP_InventoryMenu, and WBP_SettingsMenu.
WBP_InventoryMenu has WBP_InventoryPanel, WBP_InventoryEquipped, WBP_InventoryItemData.
(WBP_InventoryMenu - Event Graph)
WBP_InventoryPanel has WBP_InventorySlot.
(WBP_InventoryPanel - Event Graph)
(WBP_InventorySlot - Event Graph)
(WBP_InventorySlot - UpdateSlot Function)