Showing total gold in the message box?

Hi guys,

this may be really obvious, but I've been struggling to show the player how much total gold they have in the message box, after they're told how much they made in taxes, simply for convenience sake.

I don't know which variable total gold is, so \V didnt work for me... perhaps there is a way to set total gold to some variable?

I'm also using Yanfly's message system, but I didn't notice that function there... maybe there is one? I've checked many times, but maybe I'm just blind.

Thanks!
You set a variable to the player's gold. Simple as that.


Control variables > game data > other > gold.


Edit: and if it wasn't obvious enough, you show this 'gold' in the message window by typing \v[X] where X is the variable ID you used.
Huh, I should've known that it's got to be somewhere 🙂

Thanks! Solved.
\$

In Textbox to open extra Gold Window

\G

To show name of Curency Unit.

What Celianna said is correct i do it same way.

Original thread: https://forums.rpgmakerweb.com/threads/showing-total-gold-in-the-message-box.37287/