Main Menu
  • Welcome to The RPG Maker Resource Kit.

[RESOLVED] Displaying Variables as text in a menu

Started by ikovirus, June 16, 2008, 02:09:37 PM

0 Members and 1 Guest are viewing this topic.

ikovirus

ok im trying to edit a couple scripts to work together..
im using legacys CMS as well as Blizzards DDNS...

Now this is what im trying to do,

I have it so that every time the DDNS switches to day (auto or manual) it adds to a variable (using #3) to basically be a "day counter" now thats all working and fine...
I also have edited the legacy CMS so that instead of steps taken (which i find kinda usless anyway xD) i want it to be "days played" i have most of it done... its just getting the variable to display as a text, ive tried many methods (im new to this script....)

so basicaly where it sais "omfg" in my menu i want it to display the variable that tells how many "days" have been played in my game

Falcon


modern algebra


self.contents.draw_text (x, y, width, height, $game_variables[variable_id].to_s)


Nice work on the menu.

ikovirus

hahaha, thanks very much it works...i had something like that originally that i tried but apparently i was doing something wrong, cause yours worked fine lol...

thanks for the comment on the menu to xD, im trying to overhaul it a bit but as i said credits go to legacy for the bones of it.. just trying to personalize it and learn coding while doing it. (done a few code edits, yet to make my own code tho... i am working on a "Stances" code)

anyways sorry for messing up falcon, guess im just a tard
and thanks algebra II for the code xD