RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu

[RESOLVED] Number Key Input (by using the conditional branch event command)

Started by samfortunato, July 23, 2011, 06:10:06 PM

0 Members and 1 Guest are viewing this topic.

samfortunato

Hello, so I'm trying to make an event that would use a conditional upon pressing a key, and I want to use the numbers on the keyboard as the keys. In the event command though, it doesn't have number inputs. I'm assuming it's scripting, so how would I make it so I could use numbers also? Like I want to have it so a conditional branch would fire off if I hit the 1 key, then a different one if i hit the 2 key, etc. How could I do this? Thanks a lot

EDIT: Resolved; using one of the Pockethouse Scripts (YanFly).
http://rmrk.net/index.php/topic,42396.0.html under YEM, subheader YanFly Engine Utility (YEM Keyboard Input).