The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: shintashi on April 14, 2010, 01:54:58 PM

Title: Input Number?
Post by: shintashi on April 14, 2010, 01:54:58 PM
How do I use input number to ask questions like "guess a number between 1 and 99"? and Have an answer?

And is it accessed through a conditional?

A simple 2 digit example would great.
Title: Re: Input Number?
Post by: modern algebra on April 14, 2010, 02:05:06 PM
See attached.

Obviously, you can be a little more exact than lower than or greater than 50 - you could put a conditional for every possibly choice if you wanted, but it's very simple. Just use a conditional branch and check the value of the variable you used for the Input Number command.
Title: Re: Input Number?
Post by: shintashi on April 15, 2010, 04:21:28 AM
Quote from: modern algebra on April 14, 2010, 02:05:06 PM
See attached.

Obviously, you can be a little more exact than lower than or greater than 50 - you could put a conditional for every possibly choice if you wanted, but it's very simple. Just use a conditional branch and check the value of the variable you used for the Input Number command.

worked like a charm ^^ I can now work on my math game.