Key Mapping

Hello.

I'm having an issue mapping keys. I have a common event that's running on the default setting of "When L is Pressed....". I was curious if I could make a command that says when "Num 1 is Pressed...", "Num 2 is Pressed" etc.

I understand that according to the default mapping "L" is the Q key, but I was wondering what I would need to do in order to 'hotkey' my number buttons to play common events on the map like I did with the Q key?
You can only use keys that show up when you hit F1 while playing. And "L" doesn't mean the L key - it could mean something completely different. (For instance, the "C" key is actually space or enter)


If you want to add keys that aren't in that list, you will need a keyboard script.
Yanfly has a script that will link specific buttons to common events: Maybe it could help you out?


https://yanflychannel.wordpress.com/rmvxa/field-scripts/button-common-events/


My bad It's only the default buttons available there.

Original thread: https://forums.rpgmakerweb.com/threads/key-mapping.54112/