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

#51833
0pi3w4n
Participant

Ok, so doing this using the interface text is possible but a huge pain in the neck, and probably will make your game load like a drunken slug.

After ever opportunity that your hero’s “Gold” (or whatever you want to track such as gold) could change you add a script that goes…

_if hero number of “Gold” = 1
__interface info text becomes “Gold: 1”
_if hero number of “Gold” = 2
__interface info text becomes “Gold: 2”
_if hero number of “Gold” = 3
__interface info text becomes “Gold: 3”

and so on and so forth, as high as you want. The _’s in this represent tabs. Copy/paste like a maniac.