ShadowofUndine wrote:
My question is how do the Input.Triggers work? I read the Script Support topic on changing the directional buttons to WASD, but I didn't really understand it. I know the code for the Input.Triggers (for the directional buttons only) exist in the Game_Player page, but I don't know where the rest are (Action, Cancel, etc. buttons) or how to change them.
~ShadowofUndine
First of all you'll need a Fulll Keyboard Support Script. RMXP Doesnt support the whole keyboard right away.
Now to change the action and cancel key you'd have to change alot of scripts.
In Scene_Map line 123
- if Input.trigger?(Input::B)
Expand to see the code.
Change the B in it. But I recommend Using Blizzard's Tons of Addons. It has a custom controls which also provides the whole keyboard. If you use his than replace line 123 with
- if Input.trigger?(Input::Key['W'])
Expand to see the code.
Now Scene_Title and the rest just search for either
or
Change all of those in all of the Scenes. There are also more Inputs than that as well in some of the Scenes.