Welcome Forums Get help How do I set a counter in a textbox? Reply To: How do I set a counter in a textbox?

#51794
LittleBread34
Participant

I meant this:

Say you have a certain amount of gold, say, 36.

Maybe you want to spend that gold in the shop, but you don’t know how much gold you have. You go to the shop, and the shopkeeper tells you that you have 36 gold.

Now, you spend 5 gold on an item. You interact with the shopkeeper again, and he states that you have 31 gold.

Now, you kill a bad guy and get 3 gold. You speak with the shopkeeper again, and he says that you have 34 gold.

And the textbox constantly tracks how much gold you have.

How do I do that?