View Single Post
 
Reply
Posted 2006-03-17, 03:40 PM in reply to United_Ninjas's post "Is there an Enter Password Command in..."
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.

Just shout at me if it ain't working.
Old
Profile PM WWW Search
Lenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basics
 
 
Lenny