Managing 'coins' in a Storyline game
I've made a very simple game in Articulate Storyline where you can earn and spend coins (attached). I've set it up so you can earn up to 2 coins, but the last screen lets you spend up to 3 coins.
Is there a variable or trigger I can use to stop you from spending more coins than you have?
I.e., You earn 2 coins. You spend 2 coins. You try to spend a 3rd coin. The activity should say "Sorry! You don't have enough coins for that."
I'd like to scale this up to an activity with 20-30 coins so the solution would need to be scalable.
Thanks for any help!