Hi guys, first, I did search about arrays used in inventory systems, but I tried and I didn't find a way to do what I need. So I apologize in advance if this question has been asked often.
This is my .c3p file:
https://drive.google.com/file/d/1UxEKv7gAtbENpcKwEM51UVSBSAMXBsqJ/view?usp=sharing
So basically, I need to add an item to an inventory slot, and then add it into an array as well.
Which for now seems to work. Now the problem arises when I *use* an item (for now I tried destroying the item). So you end up with an empty slot anywhere in the inventory, which subsequently should be filled by the next item you find.
How can this be accomplished?
Thank you.