Hi, so right now I have:
UpgradeAmount - Amount of times it's been successfully upgraded (when clicked, if had enough money then do this etc)
Money - The balance
UpButton - The upgrade button, when clicked it'll determine whether or not the player has enough money and will continue if so.
And right now I have it setup like this
___________________________________________________
On touched object "UpButton"__|___System | Set Upgrade to 1
System | Upgrade = 0___________|___Subtract 30 from Money
Money >= 30____________________|
___________________________________________________
On touched object "UpButton"__|___System | Set Upgrade to 2
System | Upgrade = 1___________|___Subtract 100 from Money
Money >= 100____________________|
___________________________________________________
I have it setup like this because I want the upgrades to go 1 by one, however right now if they have enough money for the next upgrade
it buys as many upgrades as it can. How can I stop this?