The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: samfortunato on July 23, 2011, 06:10:06 PM

Title: [RESOLVED] Number Key Input (by using the conditional branch event command)
Post by: samfortunato on July 23, 2011, 06:10:06 PM
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).