CC_SWITCH_DISABLE_DASH

RPG Maker MV

Make the "disable dashing" setting available to events via a switch

Another simple plugin to expose part of the engine to the event system.

When you create a map, there is an option "disable dash" which prevents players from dashing while on that map.

This plugin gives you finer control by assigning one of your switches to this function. When the switch is "ON", the player is prevented from dashing. When the switch is off, the map setting is obeyed.

Usage:
Save the plugin as "CC_switch_disable_dash.js" in your project's js/plugins folder
Enable the plugin through the F10 menu, and configure which switch you want to use
by its number.
Control the switch using the normal "control switches" command from any event.