Need a plugin to display a variable in a window

Animebryan

Need more resources!
Veteran
Joined
Jul 31, 2012
Messages
347
Reaction score
162
First Language
English
Primarily Uses
RMMV
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,314
Reaction score
315
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,606
Reaction score
1,399
First Language
French
Primarily Uses
RMMV
hi, you have the command F9 ! ?
 

Bex

Veteran
Veteran
Joined
Aug 2, 2013
Messages
1,314
Reaction score
315
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

Need more resources!
Veteran
Joined
Jul 31, 2012
Messages
347
Reaction score
162
First Language
English
Primarily Uses
RMMV
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,676
Reaction score
2,116
First Language
English
Primarily Uses
RMMV
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

Need more resources!
Veteran
Joined
Jul 31, 2012
Messages
347
Reaction score
162
First Language
English
Primarily Uses
RMMV
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
299
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

Need more resources!
Veteran
Joined
Jul 31, 2012
Messages
347
Reaction score
162
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?
Basically.
 

dbchest

Beast Master
Veteran
Joined
Oct 1, 2013
Messages
434
Reaction score
299
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

Need more resources!
Veteran
Joined
Jul 31, 2012
Messages
347
Reaction score
162
First Language
English
Primarily Uses
RMMV
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,676
Reaction score
2,116
First Language
English
Primarily Uses
RMMV
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
299
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

Need more resources!
Veteran
Joined
Jul 31, 2012
Messages
347
Reaction score
162
First Language
English
Primarily Uses
RMMV
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.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

is it just me or have posts gotten way more boring ever sense the forum updated
Oh no, fatigue and procrastination setting in on my game. :( Must overcome it!!! Must continue on!!!
I have this issue where I get insomnia whenever I need an answer or solution to "x" situation, and can't sleep until I find it or I pass out exhausted...
Got MV on Steam during the Lunar New Year Sale! Happy Year of the Rat everyone!
Oh, stop with the Melodrama...

...Listen to it instead!

Forum statistics

Threads
93,621
Messages
914,019
Members
123,185
Latest member
OneLoveDrew
Top