input nummber

how to call input number using script and put it inside a variable(not in game variable)?
You can't. The script for Input Number puts the result into a variable by default.


Only way to do it differently would be to duplicate the script and make the changes you want to make.
oh how just calling it using script? still cant? 

btw. thanks
Take a look at Game_Interpreter and search that script for Input Number (I think it's there twice, and it's the second one you're after).


It's not as easy as just calling it from a script, like most of the other event commands are.


Why do you not want to use the regular Input Number command?
i am making a script that can say if the switch is on or off
You might consider taking a look at Window_ShopNumber and the associated windows and scenes that use it. That works a little differently from Input Number and might be more useful.

Original thread: https://forums.rpgmakerweb.com/threads/input-nummber.16832/