What i want is to have an event on autorun that self-switches off (or not self, does not matter). But if player saves and loads the game afterwards, i want this event to autorun again if player is still in that location. Found one plugin like that but the link is dead and author said that it is not supported anymore. Maybe there are more?
MV Is there any plugin that could resstart event after game is loaded?
JS Plugin RequestsThere's a Triacontane plugin that runs a common event on game load called CommonInterceptor. There's also a script call to remote toggle self switches
$gameMap.mapId() is the current map
You can replace all those values as necessary. If you're running this script from a common event you need to put the event number instead of this._eventId
Code:
$gameSelfSwitches.setValue([$gameMap.mapId(), this._eventId, 'D'], true)
You can replace all those values as necessary. If you're running this script from a common event you need to put the event number instead of this._eventId
Seems like the plugin is for MZ only, and it will not work in MV because:
To use this plugin, you need the base plugin "PluginCommonBase.js"."PluginCommonBase.js" is stored in the following folder under the RPG Maker MZ installation folder:dlc/BasicResources/plugins/official
And there is no such plugin for MV.
This is weird, since i donwloaded the plugin on MV section.
EDIT: Nope, i'm just dumb. Seems like plugin works as it is and the instructions just wrong, it does not require that plugin to run. Or maybe it somehow mistranslated them from japanese, idk.
Anyway, thank you, excellent solution!
Aaaand it's not working again. Idk why, i did not made any change to plugins. I just tried using it again and it does nothing now. Maybe it always did and i just messed up with testing last time. Anyway, here
is the plugin seetings -
Here is the common event 20 -
Tried to turn all plugins off just in case of conflict, nothing as well. Seems like the plugin can't run without that MZ plugin after all.
And, sadly, remote call for self switches will not help me, since i have a certain plugin option (that disables mouse movement) that should work only on specific maps. So i call it with script call. But if player loads the save, that effect disappears and i need to call it again. So the trigger to do that has to be loading of saved game. Basicly what plugin above should do... but it does not.
And i still don't understand why i thought that it was working before. Perhaps i just forgot to turn the self switch in game and thought that it was the plugin working? Or maybe i missed or messed up something that's required for it to work...
Is there any other plugins like that you know?
There is also this Galv plugin
galvs-scripts.com
The last parameter is
"
* @param parallel
* @text Parallel processing
* @desc Turn this ON if you want to run interrupt commons in parallel.
* @Default false
* @type boolean"
MV Load Common Event
FEATURES Just a simple plugin that runs a common event every time the player loads their save file. An example of use might be to display a message based on variable to remind the player of their c…
The last parameter is
"
* @param parallel
* @text Parallel processing
* @desc Turn this ON if you want to run interrupt commons in parallel.
* @Default false
* @type boolean"
Thank you, Galv's plugin works well! This time for sure.
And for translation as well - seems like that option would not help me anyway since i need to trigger an autorun event.
Original thread: https://forums.rpgmakerweb.com/threads/is-there-any-plugin-that-could-resstart-event-after-game-is-loaded.177698/