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

Try creating a custom event inside gamemode to remove index and replace remove index inside the widget with a call to this event

I can’t seem to find Set Array, only getting Set Array Elem which doesn’t have the nodes I need, has this been removed in 5.7?

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