Hello there. Well, as the title says, how do I make a Passworded door where you can open it by entering the right password.....
Thanks.
I experimented through this but I still cannot make a password door. Maybe through script? If you can help me, then thanks
How to make doors locked with a password
● ARCHIVED · READ-ONLY
-
-
You could use the "Input Name" Command for characters for the password.
You'd need a "dummy character" who serves as input.
Then, you can simply use a conditional branch to check if his name is the password. If it is, unlock the door. If it's not, at least tell your player. ;)
At the end of the Event you change the dummy's name back to whatever you named him.
No scripts needed for this.
visualization, if needed. -
There's still something wrong. I did exactly what you said but the door won't open and just goes to "Else" statement.
Let's say my character name is Daichi. I go to door and I choose the "dummy character" called Miwa. and characters 4.
Conditional branch I clicked on number 2 and Actor, then chose Name instead of In the party, "Lolz"
I did exactly what u did but I dunno what is wrong. It keeps going to Else. -
show us a screenshot of the event.
-
-
in the future, use .png. bmp is a terrible image format.
anyway, it should be working. i just tested it myself and had no problems. this is what I did.

and it works just fine.
are you sure that you're putting in the correct password when you test in-game? case matters. -
It's not working with me, I have even did yours. What the hell is wrong?
Am I entering the wrong password? or what.... o-o
welp
Edit:
Shouldn't the password be in my case "lolz" while yours is "lol" while the first reply would be "Opendoor"
Right? I'm entering them in each test well, whatever "Name "X" applied"
or it does have something to the Actor I'm playing with? I'm playing with somebody called Daichi Miwa, the main actor. Or should I play with the "Dummy character" or what? -
do you have any scripts installed? usually when the program doesn't work the way it should, there is some kind of script that is interfering.
-
The Khas Awesome Light Script
-
I just built a new project and it worked. It seems the script did something as you said. or I did something. Anwyays. Thank you guys :D !
-
You can try using this if you don't want to change your actor's name.
http://db.tt/EZa6FeAz
It's just something I threw together in some minutes because I wanted a way to input text and send the output to a variable that I can reference later.
You just need to use a script call
Code:It accepts 3 argumentsenter_text
Code:Where the text display is just a message that is shown, kind of like reminding the user what they're doingenter_text(text_display, variable_id, max_char)
An example usage is the following event, assuming you're storing it in variable 12
Code:Show Text: "enter something" enter_text("Writing something") Show Text: "You wrote: \v[12]" -
Vampak3r, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.
-
hey, you may or may not have this figured out, but if you wanted, then you could do this:
make 2 variables. one named something like 'password' and the other as something like 'password attempt',
if you want to set the password permanently you can use 'set variable = xxxx'
or you could have the password customizable by the character by having a number input processing window pop up to allow you to set the password variable,
THEN to see if the password is correct or incorrect, have a number input processing appear so the player can set the 'password attempt' variable, then have a conditional branch saying if 'password attempt' = 'password' then, else 'wrong password'. -
What if he wanted to use letters?
-
then your method is probably best, i was simply providing an alternative, not trying to steal your thunder here. your script seems pretty nice and honestly i may try it out myselfWhat if he wanted to use letters?
-
Just re-read the OP. I thought he specifically wanted to use letters, since most of the replies were talking about using name input and all.
-
you're right, though the original post was just asking about a password, domino3 brought up the character to use a word, which i have done before, like i said, just thought i'd throw out another option. anyways, i hope OP got the answers he wanted, regardless.
-
@Celianna, Ok sorry, I'll read them right now :D !
@Tsukihime: Thanks, I'll probably be using this. And I wanted a "password" really. I didn't say Letters or numbers. Thanks again :D !
@mike_your_bro: I still did not get introduced to the variables but I'll get on it after reading the rules.
Sorry for late reply, was mapping my game. -
What I ended up having to do was combine show choices with fork conditions in order to password a door. say the password was k n i g h t then i would put k as one of the choices and random letters/numbers for the other choices, then set a condition to where if the choice k is made it would display the next set of choices so on and so forth until the complete password was entered.
-
Wait, could you tell me the exact functions of your request one by one? this is doable in events though, but I wanted an exact thing so I could work on it. Please, and thank you.