Hi there, back again for a little advice and a hope that I'll be pointed in the right direction as I'm sure I'm thinking about this incorrectly.
In our project we have the functionality for the player to have multiple weapons. These weapons are collected during the game and a boolean is set to true for each one that is unlocked. There's six in total.
The current weapon is stored in a string called "costume_name"
When the player presses a button we would love it if the player cycles through the unlocked weapon boolean
So if the current "costume_name" is X and the player has already unlocked Y (that boolean now being true), when they press a button the costume_name variable is changed to Y.
However, if they haven't unlocked Y (as in the boolean isn't true) but they have unlocked Z (that boolean is true) then the "costume_name" is set to Z.
And the cycle continues so the player can tap a button and quickly cycle through the unlocked weapons.
This is what the code looks like currently, but it just doesn't add anything to the costume_counter
Thank you, hopefully I explained myself well enough here.