Animebryan

And like a Phoenix, I raise from my ashes!
Veteran
Joined
Jul 31, 2012
Messages
558
Reaction score
364
First Language
English
Primarily Uses
RMMZ
I need a plugin to display a variable in a window, particularly during a number entry. I have an event set up to act as a Gold Vault where you can withdraw & deposit gold. It's important that the player knows how much is stored in the vault (variable) when entering the withdrawal amount, other wise they might end up accidentally enter a higher amount than what's already there & getting a message saying that they don't have that much stored. And some players like me might have bad short-term memory & can't remember how much is there.

It would be nice to also display a icon before the variable as well. I hope someone can help me with this.
 
Last edited:

Bex

Veteran
Veteran
Joined
Aug 2, 2013
Messages
1,798
Reaction score
641
First Language
German
Primarily Uses
RMMV
Hover over the Textbox Eventcommand, a pop up with Help Info should apear.
You got code to insert the variable value into the textbox, also icons are possible, atleast in vx-ace.
You can also combine the show text with the input number command (just put the eventcommands directly below each other)
And the Textbox and input number should apear simultaneusly.

This should help you make the mechanic work.
 

Jonforum

Veteran
Veteran
Joined
Mar 28, 2016
Messages
1,641
Reaction score
1,474
First Language
French
Primarily Uses
RMMV
hi, you have the command F9 ! ?
 

Bex

Veteran
Veteran
Joined
Aug 2, 2013
Messages
1,798
Reaction score
641
First Language
German
Primarily Uses
RMMV
And what does F9 do besides showing a list of the switch and variable values?
Or am i missing something?
 

Animebryan

And like a Phoenix, I raise from my ashes!
Veteran
Joined
Jul 31, 2012
Messages
558
Reaction score
364
First Language
English
Primarily Uses
RMMZ
Hover over the Textbox Event command, a pop up with Help Info should appear.
You got code to insert the variable value into the textbox, also icons are possible, at least in vx-ace.
You can also combine the show text with the input number command (just put the event commands directly below each other)
And the Textbox and input number should appear simultaneously.


This should help you make the mechanic work.
I don't know where you got that idea but it doesn't work. I tried putting a text box before the number entry & after & in both tries they do not appear simultaneously!
In fact, how the heck can you 'combine commands' anyway. You choose 1 event command & it gets put on the event page. There's no option to combine commands into 1 entry.


hi, you have the command F9 ! ?
Stop spamming! Next time I'll report you!
 

Frogboy

I'm not weak to fire
Veteran
Joined
Apr 19, 2016
Messages
1,834
Reaction score
2,386
First Language
English
Primarily Uses
RMMZ
You can use this. Make a simple HUD for your partygold (the default for one of the text options, I believe) and tie it to a switch that gets flipped when you open the vault screen.

 

Animebryan

And like a Phoenix, I raise from my ashes!
Veteran
Joined
Jul 31, 2012
Messages
558
Reaction score
364
First Language
English
Primarily Uses
RMMZ
That seems like a complicated means to setup a simple variable window (not Party Gold). I'll give it a try anyway.
 

dbchest

Beast Master
Veteran
Joined
Oct 1, 2013
Messages
434
Reaction score
313
First Language
English
Primarily Uses
RMMV
@Animebryan very simple request you have here; this is like a fifteen minute job. what is the maximum value (maximum gold) that can be displayed within this window at any given time (this needs to be addressed to decide how to handle window width)? is it the same as the default max gold?
 

Animebryan

And like a Phoenix, I raise from my ashes!
Veteran
Joined
Jul 31, 2012
Messages
558
Reaction score
364
First Language
English
Primarily Uses
RMMZ
@Animebryan very simple request you have here; this is like a fifteen minute job. what is the maximum value (maximum gold) that can be displayed within this window at any given time (this needs to be addressed to decide how to handle window width)? is it the same as the default max gold?
Basically.
 

dbchest

Beast Master
Veteran
Joined
Oct 1, 2013
Messages
434
Reaction score
313
First Language
English
Primarily Uses
RMMV
@Animebryan while i lay the foundation for this, please think of any features you want included; i.e. plugin commands to position the window, etc?
 

Animebryan

And like a Phoenix, I raise from my ashes!
Veteran
Joined
Jul 31, 2012
Messages
558
Reaction score
364
First Language
English
Primarily Uses
RMMZ
A setting for positioning the window would help (since it needs to be displayed during a 'number input' event (don't want it positioned over the number entry window). Perhaps the option to display a icon before the variable as well. That about all I need really.
 

Frogboy

I'm not weak to fire
Veteran
Joined
Apr 19, 2016
Messages
1,834
Reaction score
2,386
First Language
English
Primarily Uses
RMMZ
That seems like a complicated means to setup a simple variable window (not Party Gold). I'll give it a try anyway.

It is for something that simple but chances are, you'll find other uses for it as time goes on. I was just throwing out there, though.
 

dbchest

Beast Master
Veteran
Joined
Oct 1, 2013
Messages
434
Reaction score
313
First Language
English
Primarily Uses
RMMV
@Animebryan LOL, this turned out much more powerful than you need, but i have seen a lot of requests for variable value display windows and i just decided to make this as versatile as possible. let me know if you have questions.

DOWNLOAD
 

Animebryan

And like a Phoenix, I raise from my ashes!
Veteran
Joined
Jul 31, 2012
Messages
558
Reaction score
364
First Language
English
Primarily Uses
RMMZ
It works. There's just 2 things I need. Can you make a plugin parameter to change the font size? Also, can you set the numbers to use commas every 3 digits? Because I have Yanfly's Core Engine which adds them as separators.
 

Latest Threads

Latest Posts

Latest Profile Posts

ScreenShot_11_27_2022_10_0_8.png
finally finished all the sprites for my friend's Comic book OC that I put in my game.
1669612924226.png
Added collectible trading cards to my current game, bio-Synthetica.
I plan to have a total of 20 different BATTLE-bot cards you can find & collect.
100 likes.jpg

I reached 100 followers on my new twitter! It's not much but it's honest work
Made this sign for a you-know-what type of business, completely from scratch.
Gotta admit, i'm extremely proud of it.

image.png

Forum statistics

Threads
126,892
Messages
1,182,140
Members
166,692
Latest member
roseribbon
Top