Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Adding New 'Parameters', Displaying Variables in the Status MENU
Fixxxer4153
post Apr 4 2012, 04:02 PM
Post #1


Level 10
Group Icon

Group: Revolutionary
Posts: 155
Type: Developer
RM Skill: Beginner




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!


__________________________
"Then it comes to be that the soothing light at the end of your tunnel... is just a freight train comin' your way..."


Which Final Fantasy Character Are You?
Final Fantasy 7
Go to the top of the page
 
+Quote Post
   
The Law G14
post Apr 4 2012, 05:31 PM
Post #2


Scripter FTW
Group Icon

Group: Local Mod
Posts: 1,346
Type: Scripter
RM Skill: Skilled
Rev Points: 5




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


__________________________

To put in sig, copy this link:
CODE
[url="http://www.rpgrevolution.com/forums/index.php?showtopic=51540"][img]http://img40.imageshack.us/img40/6504/conceptthelawbanner.png[/img][/url]


Sig Stuff


"When you first come, no one knows you. When help them out, they all know you. When you leave, they all love you. When you come back, they've already forgotten you." -- copy into your sig if you think this quote speaks true!

If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others. -Exiled One

My Project Thread: Gai's Hunters


Go to the top of the page
 
+Quote Post
   
Fixxxer4153
post Apr 7 2012, 06:22 PM
Post #3


Level 10
Group Icon

Group: Revolutionary
Posts: 155
Type: Developer
RM Skill: Beginner




Thank you so much, it seems to work perfectly. This has made so much more possible with my project. Thanks again!


__________________________
"Then it comes to be that the soothing light at the end of your tunnel... is just a freight train comin' your way..."


Which Final Fantasy Character Are You?
Final Fantasy 7
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 25th May 2013 - 09:54 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker