Help - Search - Members - Calendar
Full Version: Button Codes?
RPG RPG Revolution Forums > Game Engines > RPG Maker XP Discussion
Krachn
Hello Fellow rpg makers!
Im using RpgMaker xp and im trying to make my character do different stuff when an button is pressed down (U I K W A S D SPACE SHIFT etc etc) But when i try to add a Button input proccesing, then it asks for keycodes. What are these keyCodes? And where can i find them?
Callista
It asks for a variable to store the button code in. You can easily check which key corresponds to each code like so:

CODE
@>Button Input Processing: [0001]
@>Text: \v[1]


This will wait a for a key press and store the code in variable 1, which is then displayed. After you've found out the code for the key you want, you use the variable in a conditional branch to check if the player has pressed a certain key or not.
Krachn
That was indeed simple, thatnx =D this is solved
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.