The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: Todne on January 03, 2006, 03:43:34 AM

Title: [Request] A script that makes the main button "A"
Post by: Todne on January 03, 2006, 03:43:34 AM
I want the button you use to be "A" instead of "Enter". Sorry if you dont need a script to do this but i dont know and im a noob.
Title: [Request] A script that makes the main button "A"
Post by: Saber on January 03, 2006, 06:28:07 AM
Uhm... Yeah. This won't be fun. Hopefully, you're using the legal version, or the input command may be different. The 'best' way to do this is to look through every script and if you find:

Code: [Select]
if Input.trigger?(Input::C)


replace it with:

Code: [Select]
if Input.trigger?(Input::A)


How I would do that is, on every script, press Ctrl+H to pull up the 'Replace' command box. Where it asks for 'Find what:', put in the first code, and where it asks 'Replace with:', put in the second code. Then press 'Replace All'. This will find and replace every instance of the C input command with A.

This will really quicken and automate the process. Do remember to backup your script thing first, cuz this 'should' work... I just havn't tested it.  :wink:

Good luck!
Title: [Request] A script that makes the main button "A"
Post by: blueXx on January 03, 2006, 01:41:19 PM
or...
you can press f1 while inside any game and define the buttons the way you like it Oo
just a weird suggestion...