RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[RESOLVED] Number Key Input (by using the conditional branch event command)

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 67
RMRK Junior
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).
« Last Edit: July 25, 2011, 07:11:05 PM by samfortunato »