Hello, i have a problem with an array and i dont know what to fix this.
I have an item inventory in my main character. When the player gets ammo, weapons or keys, this items add at the inventory. But later in the game, i need to clean the keys inventory. My idea is to save in an int the index of the keys, then use this index to delete it in the array. But this wont work becasue when the player load game, the index of the keys on the inventory changes…i tried to do it with tag in the keys, but i cant fix the problem.
Its there a way to search in an index, with the name of the blueprint or containing a text string? I dont know how to localize the keys once we load the game…
Thank you!!
Sorry about my english.