Help - Search - Members - Calendar
Full Version: Adding New 'Parameters'
RPG RPG Revolution Forums > Scripting > Script Development and Support
Fixxxer4153
I have a fairly straightforward question.
Is there a way to display the value of a variable in the status menu, i've already added the text, but I wish to know if I can create new 'parameters' by displaying a variables' value in the statistics page of the menu.

Something like:

self.contents.draw_text(60, 100, 192, 125, @game_variable[n], 2)

or

draw_game_variable[n]

Idk im not a scripter.

Thanks!
The Law G14
Hey! You were pretty close in your first example, this syntax would be looking something like this:

CODE
self.contents.draw_text(60, 100, 192, 125, $game_variables[n].to_s, 2)


Hope that helps smile.gif
Fixxxer4153
Thank you so much, it seems to work perfectly. This has made so much more possible with my project. Thanks again!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.