The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: Bash on February 20, 2009, 07:45:23 PM

Title: Variable in text
Post by: Bash on February 20, 2009, 07:45:23 PM
How do i make it so variables will show thier values in a text box?
Is thier a scriipt for that or I wont need one?
Title: Re: Variable in text
Post by: HolyQuebec on February 20, 2009, 07:46:41 PM
/v[n] N beeing the # of your Variable, starting at 0000

Thats for rpg maker xp and 2k3. never tried with VX but i think it should work
Title: Re: Variable in text
Post by: modern algebra on February 20, 2009, 07:49:49 PM
Quote from: HolyQuebec on February 20, 2009, 07:46:41 PM
/v[n] N beeing the # of your Variable, starting at 0000

Thats for rpg maker xp and 2k3. never tried with VX but i think it should work

Yeah, that's right, but it's \ not /
Title: Re: Variable in text
Post by: HolyQuebec on February 20, 2009, 07:50:06 PM
oops  :-[
Title: Re: Variable in text
Post by: Bash on February 20, 2009, 07:51:52 PM
Am I able to do something like that expect with text colors,items etc?
Title: Re: Variable in text
Post by: HolyQuebec on February 20, 2009, 07:53:09 PM
Var operation.
Item held: set equal

Message: blablabla \v[your item variable] blablabla
Title: Re: Variable in text
Post by: Bash on February 20, 2009, 07:58:56 PM
No i mean like show the items icon.
Title: Re: Variable in text
Post by: modern algebra on February 20, 2009, 08:05:21 PM
The symbols are actually only in 2k3 HQ, they are not available in XP and VX.

For colours, \c[0-31] will change the colour of the text based oin the windowskin palette. SO, any integer between and including 0 and 31 will set the colour - \c[0] is the normal color

For the icon, you need a script. There are two in the RMVX Scripts Database that allows you to do that, my own Advanced Text System and Woratana's Neo-Message System.
Title: Re: Variable in text
Post by: Bash on February 20, 2009, 08:12:39 PM
Ok, thank you both for your help. :)