Zelaron Gaming Forum

Zelaron Gaming Forum (http://zelaron.com/forum/index.php)
-   RPGMaker (http://zelaron.com/forum/forumdisplay.php?f=188)
-   -   Is there an Enter Password Command in RM2K3? (http://zelaron.com/forum/showthread.php?t=38945)

United_Ninjas 2006-03-17 03:15 PM

Is there an Enter Password Command in RM2K3?
 
i've been reading some tuts and one i absolutly need says i need a enter password command but i can't find it in RM2K3, plz help


-Ninja

Lenny 2006-03-17 03:40 PM

I think it can be done with the Input Number command, and a common event.

I'm guessing here, so bare with me.

OK, pure guesswork.

EDIT: Yes, it works.

If you look on the first page of the events, you'll see something that says "Input Number". Put that as an event that the Hero touches to start, and set it to, say, 6 digits, and to store as Variable 0001.

Then go into Database > Common Events.

Make a Conditional Branch = If Variable in 0001, [put in your 6 digit number - eg 123456] Equal to.
Open Save menu.

Leave the other blank.

MAKE SURE THIS IS A PARALLEL PROCESS

Then test it.

The code should look like:

Code:

<>Input number, 6 digit, [0001]
<>

Code:

<>Branch if Var [0001] is 123456
<>Open Save Menu
<>
: Else Handler
<>
: End
<>

---

Sorry if it's all a bit sketchy. I'm doing twelve things at once here, and I should be in bed. :p

Just shout at me if it ain't working. :)

BlueCube 2006-03-17 08:20 PM

I recognize "Enter Password" as the RM2k command. (I'm guessing you're looking at old tutorials?) If that's what you're looking for, it's called "Key Input Processing" in RM2k3.

If you're looking to input an actual password for something, it's as Lenny says.

United_Ninjas 2006-03-18 02:04 PM

wow it worked! Thanks Both of you!

-Ninja


All times are GMT -6. The time now is 08:21 PM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.