[Tutorial] Simple Inventory System. (Part 2 Is Here!)

I’m guessing you are on step 2 of part 2 tutorial, code section.

Set Array Elem is the right node, you need to right-click on the blue pin and select break.

Thank you, last thing I cannot seem to find is how you set 2 variables in the same node?

I did try copy and pasting the node, but it wouldn’t let me SlotsGridUI connect to it, saying “Search for nodes matching Slots Grid UI Object Reference (Output) and Object Reference (Input)“

Slot Grid UI is a widget; you can place widgets inside other widgets. Also, you can set/get variables and call functions from this widget.

On the picture you sent, I’m setting variable Inventory inside widget Slot Grid UI.

You need to get Slot Grid UI, drag the pin and search “Set Inventory“.

Unfortunately it still has the one pin, no target pin on the set node?

Thank you so much. Yeah sorry, perhaps I should have done the simple version first aha

So i use your system and it works but what if i have to make different type lets say weapon that i can pickup and i need to use it , how can i do that, coz when i try to add on that list Map inside game instance, it says i cant add more when it already has one

Can you make a screenshot?