Input Number Question

ThyNexus

Villager
Member
Joined
Sep 16, 2014
Messages
22
Reaction score
4
First Language
English
Primarily Uses
This is probably a very simple question, but I have yet to find an answer.

I have a door that will only open with a password. I have set up an Input Number command of 4 digits in the event and added a Conditional Branch for when the player gets it right or gets it wrong. My problem is that, for example, if the player were to put in something such as 9876 and that was the incorrect code, when they access the event for a second time, rather than the original 0000 coming up for the player to change, it has remained at 9876. This is not a big problem for game play, but it is rather irritating to not be able to figure out how to make the input command revert back to 0000.
 
Last edited by a moderator:

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
969
Reaction score
807
First Language
English
Primarily Uses
N/A
In control variables in the event, reset the variable's value to 0.
 
Last edited by a moderator:

KarmaGodQ

The Hero
Veteran
Joined
Sep 9, 2015
Messages
43
Reaction score
6
First Language
English
Primarily Uses
No idea since I never used it but have you tried setting it in the wrong conditional path where the #'s go back to 0000 but the pass stays the same still until someone gets it
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
mjshi has it right. Set the variable to 0 before the Input Number command.
 

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

Latest Threads

Latest Posts

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,865
Messages
1,017,059
Members
137,575
Latest member
akekaphol101
Top