Hi all.
I want the player to be able to use an item only a set number of times (let's say 3 times), then the item gets removed. I could accomplish this so far...but, here lies the issue:
The item is a lootable item (a lighter). If the player only has one of these items, the system I have works perfectly fine, but, as soon as the player had to, say, pick up a second item of the same kind (a second lighter) the system falls through.
Is it possible to use each item one at a time? So, the player has 2 lighters and each lighter can be used only 3 times. So, the player uses up lighter 1, and then the second lighter's 3 uses is still available?
Any advice, guidance or input would be appreciated.
I am attaching screenshots of the events etc for reference.
I want the player to be able to use an item only a set number of times (let's say 3 times), then the item gets removed. I could accomplish this so far...but, here lies the issue:
The item is a lootable item (a lighter). If the player only has one of these items, the system I have works perfectly fine, but, as soon as the player had to, say, pick up a second item of the same kind (a second lighter) the system falls through.
Is it possible to use each item one at a time? So, the player has 2 lighters and each lighter can be used only 3 times. So, the player uses up lighter 1, and then the second lighter's 3 uses is still available?
Any advice, guidance or input would be appreciated.
I am attaching screenshots of the events etc for reference.