Creating a number lock event

Status
Not open for further replies.

PheonixDeath1

Veteran
Veteran
Joined
Apr 20, 2014
Messages
58
Reaction score
2
First Language
English
Primarily Uses
Anyone know how to force a player to input a password or number code into an event to unlock items?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
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.
 

PheonixDeath1

Veteran
Veteran
Joined
Apr 20, 2014
Messages
58
Reaction score
2
First Language
English
Primarily Uses
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?

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.
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
yes. Give it a go and see.
 

PheonixDeath1

Veteran
Veteran
Joined
Apr 20, 2014
Messages
58
Reaction score
2
First Language
English
Primarily Uses
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
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Chest with code:

Chest with password:

Both of these just use a Quick Event, and add a few extra commands.
 

PheonixDeath1

Veteran
Veteran
Joined
Apr 20, 2014
Messages
58
Reaction score
2
First Language
English
Primarily Uses
Chest with code:

Chest with password:

Both of these just use a Quick Event, and add a few extra commands.

I did the number one without the screenshot but the password i needed the screenshot thank you very much.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
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.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,859
Messages
1,017,030
Members
137,566
Latest member
Fl0shVS
Top