The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: shintashi on July 15, 2010, 05:24:06 AM

Title: [request] input text
Post by: shintashi on July 15, 2010, 05:24:06 AM
instead of input number, input text, similar to the name change thing. Would be used for assigning non numerical passwords, answering riddles, and so forth.

I seem to recall seeing something like this somewhere.
Title: Re: [request] input text
Post by: blueXx on July 15, 2010, 07:16:55 AM
Just make a character which isn't in the party and never will be and all the user input will become it's name which you could then use to check whatever you want.
Title: Re: [request] input text
Post by: shintashi on July 15, 2010, 10:20:44 AM
well I thought of that but I can't figure out how to store those temp names in multiple variables. I want to have the ability to store lists of "input" values.
Title: Re: [request] input text
Post by: blueXx on July 15, 2010, 07:02:49 PM
Well if memory serves you can make as many characters as you wish.
just treat each of them as a variable.
If you want to know the password entered for X, go to say character 8, if you want to check the answer to riddle 10a go to character 201.
Really as simple as that.
Title: Re: [request] input text
Post by: shintashi on July 15, 2010, 11:53:03 PM
ok, this is what I got:


@>Show choices: Memorize, Recall
: When [Memorize]
@>Name Input Processing: memory, 16 characters
@>Script: $game_variables[415] =
: : $game_actors[9].name
@>Text; The expression:
: : \v[415]
: : has been memorized.
@>
: When [Recall]
@>Text: \v[415]
@>
: Branch End
@>


using UMS of course. I figure I can just repeat similar codes for multiple memorization. Thanks :)