Hey everyone, I'm looking for a script or script skeleton that would allow me to put in an unlock code. As the player progresses through the game, certain codes will appear and it could unlock some sweet items and abilities. I thought about just having an item that once you have it or give it to someone you get the reward but I just thought I'd make it a little more complex and as an extra rather than a necessity. Thanks in advance for your help!
Script for Unlock Code item
RPG Maker VXAce SupportI've moved this thread to VX Ace Support. Please be sure to post your threads in the correct forum next time. Thank you.
The Scripts forum is for completed scripts that you are sharing. I am moving this to VX Ace Support instead of Script Requests because I don't believe you need scripts to do it. You can simply use Input Number for codes with digits only, or Name Input Processing on a dummy actor for codes with characters.
The Scripts forum is for completed scripts that you are sharing. I am moving this to VX Ace Support instead of Script Requests because I don't believe you need scripts to do it. You can simply use Input Number for codes with digits only, or Name Input Processing on a dummy actor for codes with characters.
I don't understand how you want to implement this in your game. If you need a custom scene then you will need to provide mock-up images of how you want it to look.
This can be done using switches, variables/a spare actor and number/name input.
Sorry Shaz :-/
Ok allow me to elaborate. Player is running through the maze and spots a painting on the wall. I've created an event so that the player can read it. It shows the player a code. Now once the player reaches further in the maze, he'll find a combo-locked chest. He needs to input the previously given code to unlock it and get a wicked sweet item. I want to make it so that they have to input it correctly or it doesn't work. How can I make it so if it's not the exact code, it won't work? I also wouldn't mind a way to implement an animated graphic I made of a combo lock so they can scroll the numbers up and down to get it correct.
Ok allow me to elaborate. Player is running through the maze and spots a painting on the wall. I've created an event so that the player can read it. It shows the player a code. Now once the player reaches further in the maze, he'll find a combo-locked chest. He needs to input the previously given code to unlock it and get a wicked sweet item. I want to make it so that they have to input it correctly or it doesn't work. How can I make it so if it's not the exact code, it won't work? I also wouldn't mind a way to implement an animated graphic I made of a combo lock so they can scroll the numbers up and down to get it correct.
Just use conditional branches and the number input event command.
😳 I didn't know there was one. Sorry for the troubles.
Original thread: https://forums.rpgmakerweb.com/threads/script-for-unlock-code-item.17228/