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
RPG Maker VXAce SupportWhat 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.
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?
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.... Lol
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:
Both of these just use a Quick Event, and add a few extra commands.
Chest with password:
[IMG]http://i337.photobucket.com/albums/n362/amshaz/VXAce/HowTo/AceChestWithPassword_zps47ec3227.jpg[/IMG]
[IMG]http://i337.photobucket.com/albums/n362/amshaz/VXAce/HowTo/AceChestWithPassword_zps47ec3227.jpg[/IMG]
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.
Original thread: https://forums.rpgmakerweb.com/threads/creating-a-number-lock-event.28447/