As per the title, I've been using Blizzard's Tons of Addons script for my RMXP project and have been having problems with the Custom Controls feature.
When flagged as true, event commands that look for buttom presses stop working
I tried making a journal following this tutorial, and a Running Toggle. To test that this was indeed the case, I made a fresh project with just Tons of Addons Part 1, Part 2 and Part 3 scripts, and made these common events to test:
When
both events would work as intended.
When
both events would fail to recognize buttons being pressed. In the case of the book, the player would get stuck in the first image of the book. In the case of the running toggle, the player would be stuck with the speed applied in the Else.
So I'm asking for three things really:
1. Is there a script that patches this problem in Tons of Addons?
2. Is there other ways to get button presses to be recognized by the Conditional branch command?
3. The reason I was using Custom Controls was because I wanted the player to move using WASD instead of Arrow Keys. What are other custom control scripts that would allow me to have WASD movement *and* get buttons presses recognized?
EDIT: Testing random stuff, I installed an english keyboard setup. And *that* made these things work.
4th question: As I'm not comfortable just blindly editing Tons of Addons to identify a spanish keyboard configuration, I want to ask now how I would go about it. (Should I just tell the players to switch their keyboard setup to english? That would be the quickest and dirtiest way to bandaid the problem away...)
EDIT 2: As the problem appears to be the script being unable to recognize the keyboard config, I'd rather stick with Tons of Addons and find a way to fix this problem. Would it be possible to get this post moved to Script Support?
EDIT 3: I'm going crazy, the first EDIT was a false positive, I tested again with english keyboard setup and nothing worked, and now I can't tell why.
When flagged as true, event commands that look for buttom presses stop working
Code:
CUSTOM_CONTROLS = true
When
Code:
CUSTOM_CONTROLS = false
When
Code:
CUSTOM_CONTROLS = true
So I'm asking for three things really:
1. Is there a script that patches this problem in Tons of Addons?
2. Is there other ways to get button presses to be recognized by the Conditional branch command?
3. The reason I was using Custom Controls was because I wanted the player to move using WASD instead of Arrow Keys. What are other custom control scripts that would allow me to have WASD movement *and* get buttons presses recognized?
4th question: As I'm not comfortable just blindly editing Tons of Addons to identify a spanish keyboard configuration, I want to ask now how I would go about it. (Should I just tell the players to switch their keyboard setup to english? That would be the quickest and dirtiest way to bandaid the problem away...)
EDIT 2: As the problem appears to be the script being unable to recognize the keyboard config, I'd rather stick with Tons of Addons and find a way to fix this problem. Would it be possible to get this post moved to Script Support?
EDIT 3: I'm going crazy, the first EDIT was a false positive, I tested again with english keyboard setup and nothing worked, and now I can't tell why.