- Joined
- Jul 15, 2014
- Messages
- 14
- Reaction score
- 5
- First Language
- English
- Primarily Uses
Hi there, I've been trying for a very long time to create/adjust the Input Number Processing event into a Numeric Key Pad layout instead of the default. I've been trying to understand how the rpg_windows.js works, particularly the Window_NumberInput section as it can only be called/activated via the Input Number Processing function within the game's Event Command or within a script call using $gameMessage.setNumberInput(var, digits);. However, this just brings up the default number processing. I am hoping it is possible to create a numeric key pad plugin in a grid as below:
1 2 3
4 5 6
7 8 9
ok 0 X.
This is similar to the Name Input Processing layout but instead of the letters, just the numbers, and an Ok text to confirm and the X to cancel. The value of the number inputted can be stored in a variable like the default and the max digits can be adjusted within the plugin. There should also be an option to position the "Pad" via x, y, on the screen and normal game events should continue to run even when the Pad window is active. (Think entering a code before a timer runs out, or a NPC (guard/monster etc.) reaches you.) This input number method is not meant to calculate but the value entered and stored as a variable can be used in calculations via the normal event processing. The default input number processing can remain for the shops. Any help, tips, guidelines, directions will be greatly appreciated.
1 2 3
4 5 6
7 8 9
ok 0 X.
This is similar to the Name Input Processing layout but instead of the letters, just the numbers, and an Ok text to confirm and the X to cancel. The value of the number inputted can be stored in a variable like the default and the max digits can be adjusted within the plugin. There should also be an option to position the "Pad" via x, y, on the screen and normal game events should continue to run even when the Pad window is active. (Think entering a code before a timer runs out, or a NPC (guard/monster etc.) reaches you.) This input number method is not meant to calculate but the value entered and stored as a variable can be used in calculations via the normal event processing. The default input number processing can remain for the shops. Any help, tips, guidelines, directions will be greatly appreciated.










