Anyone know how to force a player to input a password or number code into an event to unlock items?
Creating a number lock event
● ARCHIVED · READ-ONLY
-
-
What do you mean "to unlock items" - items they already have in inventory? Or something like a door?
You could use Number Input Processing to get a number into a variable, and then compare that variable with the correct code to see if you should unlock it. The same goes with a password - use Name Input Processing (with a "dummy" actor that's never going to be in the party), and then check that name against the real password. -
I thought that was how you do it minus the variable part does it pop up a window for the the player to input a code into?What do you mean "to unlock items" - items they already have in inventory? Or something like a door?
You could use Number Input Processing to get a number into a variable, and then compare that variable with the correct code to see if you should unlock it. The same goes with a password - use Name Input Processing (with a "dummy" actor that's never going to be in the party), and then check that name against the real password.
I meant like a door or like a chest where you click on it and type in a code and if its correct you get what's inside. -
yes. Give it a go and see.
-
I am kinda confused on how it is working.... Lolyes. Give it a go and see.
I think i should tinker with it more or something cause i am not sure i can understand it unless i see it visually.
I GOT IT NOW -
Chest with code:
Chest with password:Spoiler
Both of these just use a Quick Event, and add a few extra commands.Spoiler
-
Chest with code:
Spoiler
Both of these just use a Quick Event, and add a few extra commands.SpoilerChest with password:

I did the number one without the screenshot but the password i needed the screenshot thank you very much. -
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.