I know that way, but it means change all event conditionIn general you can just use a switch as a condition for any event and turn it on and off as you wish. It's a very basic thing, so if this is not what you were talking about, we'd need some more information^^
I've moved this thread to Plugin Requests. Thank you.
Thank you, I tried changing the file rpg_objects but it didn't work[move]Plugin Requests[/move]
Easiest way I can think of is to get a plugin that allows you to set a switch on when in this "mode", and use that switch to skip all the checkEventTriggerHere, checkEventTriggerThere, and triggerAction functions in Game_Player. I don't have time to write it for you now, but I might be able to later, if nobody else jumps in first.
//=============================================================================
// Disable Event Trigger
// Shaz_MV_DisableEventTrigger.js
//=============================================================================
/*:
* @plugindesc Allows a switch to be used to disable interaction between player and events
* Shaz_MV_DisableEventTrigger.js
* @author Shaz
*
* @help
*
* This plugin runs under RPG Maker MV
*
* @param Event Disable Switch
* @desc The switch to turn on when event triggers are to be disabled
* Default: 0 (don't disable)
* @default 0
*
*/
var disableEventSwitch = Number(PluginManager.parameters('Shaz_MV_DisableEventTrigger')['Event Disable Switch'] || 0);
(function() {
var DET_GameEvent_checkEventTriggerTouch = Game_Event.prototype.checkEventTriggerTouch;
Game_Event.prototype.checkEventTriggerTouch = function(x, y) {
if (disableEventSwitch != 0 && $gameSwitches.value(disableEventSwitch)) {
return;
};
DET_GameEvent_checkEventTriggerTouch.call(this, x, y);
};
Game_Player.prototype.canStartLocalEvents = function() {
if (disableEventSwitch != 0 && $gameSwitches.value(disableEventSwitch)) {
return false
};
return !this.isInAirship();
};
})();
I changed it back like this and turn on the switch 25If you don't show us what you did, we can't tell you what you did wrong (if anything). Also not a good idea to change those files directly - better to create a plugin. Unlikely to happen now with MV (unless you're using an older version), but if you ever update the editor and update your project to use the latest version of files, you'd lose all your changes.
Thank you very much, love youIf you don't show us what you did, we can't tell you what you did wrong (if anything). Also not a good idea to change those files directly - better to create a plugin. Unlikely to happen now with MV (unless you're using an older version), but if you ever update the editor and update your project to use the latest version of files, you'd lose all your changes.
edit: try this - save as Shaz_MV_DisableEventTrigger.js add to your project and set a switch number (and don't forget to give it a name so you don't accidentally use it for something else)
Code://============================================================================= // Disable Event Trigger // Shaz_MV_DisableEventTrigger.js //============================================================================= /*: * @plugindesc Allows a switch to be used to disable interaction between player and events * Shaz_MV_DisableEventTrigger.js * @author Shaz * * @help * * This plugin runs under RPG Maker MV * * @param Event Disable Switch * @desc The switch to turn on when event triggers are to be disabled * Default: 0 (don't disable) * @default 0 * */ var disableEventSwitch = Number(PluginManager.parameters('Shaz_MV_DisableEventTrigger')['Event Disable Switch'] || 0); (function() { var DET_GameEvent_checkEventTriggerTouch = Game_Event.prototype.checkEventTriggerTouch; Game_Event.prototype.checkEventTriggerTouch = function(x, y) { if (disableEventSwitch != 0 && $gameSwitches.value(disableEventSwitch)) { return; }; DET_GameEvent_checkEventTriggerTouch.call(this, x, y); }; Game_Player.prototype.canStartLocalEvents = function() { if (disableEventSwitch != 0 && $gameSwitches.value(disableEventSwitch)) { return false }; return !this.isInAirship(); }; })();
I gave it a switch and turned the switch on, and events with Player Touch, Event Touch and Action Button triggers stopped triggering, but parallel process events continued to run. Then I turned the switch off and they all worked again.
I assume you are not using an event the player has to interact with to tell it to stop disabling the triggers.