Hi everyone,
My first post so go easy on me.
I need a script that can make it i can make an event where in the event the player has to enter a few digit code to proceed kind of like a combination lock.
Thanks for any help.
Welcome to the forum!
First, you don't need a script for this. You just need to use event commands correctly. Note - there are events and there are scripts - they are very different things, so it would be good to learn what's what and use the correct terminology 🙂
The event command you're after is Number Input Processing. That will let you set a variable to a number input by the player (you can specify how many digits are allowed).
Then you just use a conditional branch to see if that variable is equal to the number they need to key in to unlock it.
Shaz gave you the perfect solution. Since you're new to the Maker, I'd recommend playing around with creating events on a test map and just going through them all to see what they do, and try to come up with creative uses for each one. That's one of the best ways to get started.