Im folowing this tutorial on how to make a inventory and its called inventoriala

so im copying code from a inventory template called inventoriala and changing the code to fit to my game but for some reason nothing happens when i click on the item in the inventory. heres the code


https://imgur.com/lub3xfR

You’re referencing items and Items. GDevelop is case sensitive. I assume one is an object, the other an obejct group? Either way, make sure you use the same case throughout the event and it’s subevents.

Here :
image,
Here :


And here :
image


I would have thought the “Take into account all ... linked to ...” should be condition, not an action.


In the last action, you are referencing items.VariableString(name). But items has been deleted in the previous repeat event block. You need to move the delete action elsewhere.

1 Like

Items is a group and that’s just how it was written in the example

Ok so on items and Items i just messed up and forgot to write them all with capital i so i changed them to be correct and now the weapon disappears

i dont need help with this anymore, i figured it out myself

dont need help with this anymore, i figured it out myself