Documentation
Quick InfoVersion: Alpha
Made for RPG Maker MZ 1.9.0
Quick Start GuideBind buttons and keys with the Bind Common Event plugin command, then when pressed these buttons will reserve the common event provided. You can also provide a cooldown (in frames, 60f = 1 second) where the key or gamepad button will do nothing until the cooldown ends. When you no longer want the button to activate the common event, use the Clear Binding plugin command to remove the binding.
These only work on the Map scene, and only while the message window is not displaying.
Plugin CommandsThis plugin uses the following plugin commands:
Bind Common Event
Binds a common event to a key press, gamepad button, or both. If both, the cooldown will reset for both key and button when either is pressed, otherwise the cooldown will only reset for the key / button pressed. Note that if you already have a button bound to a common event, re-binding it to a different common event with this plugin command will overwrite the previous binding.
Clear Binding
Clears a key or gamepad button binding, or both. Note that if they were bound together, you should unbind them together as well to avoid any cooldown issues.
Saved GamesThis plugin is fully compatible with saved games. This means you can:
✓ Add this plugin to a saved game and it will work as expected.
✓ Change any plugin params and changes will be reflected in saved games.
✓ Remove the plugin with no issue to save data.
Filename
The filename for this plugin MUST remain CGMZ_ButtonEvents.js. This is what it comes as when downloaded. The filename is used to load parameters and execute plugin commands. If you change it, things will begin behaving incorrectly and your game will probably crash. Please do not rename the js file.
Known Issues
This plugin currently has no known issues that need to be fixed. If you believe you have encountered a bug, please report it to Casper Gaming.
Compatibility
This plugin currently has no known compatibility issues with other RMMZ plugins. If you believe you have encountered a conflict, please report it to Casper Gaming.