Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Game Variables List for Copy/Paste
#3
setting the 1000 variables with the constant of $game_variables allows me to easily show message with \v[x] in them for basic messages

Or in combination with my window script for text, the game_variables can be utilized another way.

so that when I do a randomize number on say... variable 1001 to give me a number of 1-1000, I can then turn around and say that $firstname = $game_variables[$game_variables[1001]]... or at least I thought... You do bring up a good point. it may NOT have to be $game_variables, but it does need to be an array that can hold up to 1000 names for each section.

okay, so basically, i should create it like this?

$firstname = ['nam1', 'nam2', 'nam3', 'so on, 'and soforth']

and then when the time comes in game, use Randomize on one variable let's say 20, and then go

$writefirstname = $firstname[$game_variables[20]]

and THEN have self.contents.draw_text( 0, 10, 480, 32, $writefirstname.to_s)

Does this sound right?
[Image: yy7iKKb.png]

ITCH: jayray.itch.io
Currently working on Goblin Gulch (MV)
Currently working on JayVinci Resurrection
Currently working on Bakin ABS (BAKIN)
Reply }


Messages In This Thread
Game Variables List for Copy/Paste - by JayRay - 01-13-2015, 09:51 PM
RE: Game Variables List for Copy/Paste - by JayRay - 01-15-2015, 04:26 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Game Performance Melana 21 19,492 11-24-2016, 03:42 AM
Last Post: finalholylight
   show variables on screen rpg maker xp ThePrinceofMars 22 30,277 10-19-2014, 08:01 PM
Last Post: ThePrinceofMars
   [RMXP]Game Over and Atoa Battle Status mishaps firestalker 8 9,833 08-07-2014, 01:59 AM
Last Post: firestalker
   Script Request - Variables Specific Save File JayRay 2 4,590 04-28-2014, 05:15 AM
Last Post: JayRay
  Changing Window Styles in Game JackMonty 8 9,812 03-22-2013, 11:54 PM
Last Post: JackMonty
   Game help n2t4a6 11 13,182 04-21-2010, 06:42 AM
Last Post: n2t4a6
   Animated story on New Game... KDawg08 3 5,823 03-31-2010, 03:52 AM
Last Post: KDawg08



Users browsing this thread: