- Joined
- Mar 1, 2012
- Messages
- 15,709
- Reaction score
- 16,506
- First Language
- Filipino
- Primarily Uses
- RMMZ
Share snippets.
No questions allowed. Just post in the support forum if you need help.
Add Right Click -> Cancel to Backlog
Disable Escape Key
It should look like this:
Disable Settings Shortcut Key
It should look like this:
Disable Settings and Quit Shortcut Keys
It should look like this:
No questions allowed. Just post in the support forum if you need help.

Add Right Click -> Cancel to Backlog
- Copy and Paste Template_MessageBacklog
- Look for this line:
Code:"frame": [0, 0, Graphics.width, Graphics.height]
- Add this code below it:
Code:"action": { "event": "onCancel", "name": "disposeControl", "params": 'backlog' }

- Go to Script Editor and look for: Components > Scenes > Component_GameSceneBehavior
- Below that, make a new script and add the following code:
Code:
# ===================================================================
#
# Script: Component_GameSceneBehavior
#
# $$COPYRIGHT$$
#
# ===================================================================
class Component_CustomGameSceneBehavior extends vn.Component_GameSceneBehavior
###*
* Checks for the shortcut to exit the game. By default, this is the escape-key. You
* can override this method to change the shortcut.
*
* @method updateQuitShortcut
* @protected
###
updateQuitShortcut: ->
vn.Component_GameSceneBehavior = Component_CustomGameSceneBehavior

- Go to Script Editor and look for: Components > Scenes > Component_GameSceneBehavior
- Below that, make a new script and add the following code:
Code:
# ===================================================================
#
# Script: Component_GameSceneBehavior
#
# $$COPYRIGHT$$
#
# ===================================================================
class Component_CustomGameSceneBehavior extends vn.Component_GameSceneBehavior
###*
* Checks for the shortcut to open the Settings menu by Pressing A and disables it.
* You can override this method to change the shortcut.
*
* @method updateSettingsShortcut
* @protected
###
updateSettingsShortcut: ->
# Do nothing
vn.Component_GameSceneBehavior = Component_CustomGameSceneBehavior

Disable Settings and Quit Shortcut Keys
Code:
# ===================================================================
#
# Script: Component_GameSceneBehavior
#
# $$COPYRIGHT$$
#
# ===================================================================
class Component_CustomGameSceneBehavior extends vn.Component_GameSceneBehavior
###*
* Disables shortcut keys for settings and quitting. By default these are the
* A and ESC keys. You can override this method to change the shortcut.
*
* @method updateQuitShortcut
* @protected
###
updateQuitShortcut: ->
# Do nothing
###*
* @method updateSettingsShortcut
* @protected
###
updateSettingsShortcut: ->
# Do nothing
vn.Component_GameSceneBehavior = Component_CustomGameSceneBehavior
Last edited: