Hi all,
Sorry if this question is silly - I'm a noob.
I'm making a common even for chests where the player can donate items using Select Item and incrementing a variable to keep track of how many things the player has donated.
However, if the player has nothing to donate the the count continues to increment as if they did.
One solution I'm trying is to use an if statement checking if the player possesses anything, else they get a message saying they have nothing to donate, but I don't know of any way to select a range of items and doing the if statement once instead of 60 times to cover all the items.
I'd be super grateful for any suggestions!
Sorry if this question is silly - I'm a noob.
I'm making a common even for chests where the player can donate items using Select Item and incrementing a variable to keep track of how many things the player has donated.
However, if the player has nothing to donate the the count continues to increment as if they did.
One solution I'm trying is to use an if statement checking if the player possesses anything, else they get a message saying they have nothing to donate, but I don't know of any way to select a range of items and doing the if statement once instead of 60 times to cover all the items.
I'd be super grateful for any suggestions!