Is there a way to force reload an event while on a map?

I have an event that makes use of a plugin that sometimes misbehaves in a way I can't figure out. Perhaps at some point I can figure out the bug, but I've banged my head against the wall enough by now.

I noticed that the bug clears and the event works when I leave the map and return. So as a bit of a hack, is there a way for me to reload the event in question to force it to clear the bug? Would certainly be the quickest fix.

Thankya! :LZSkiss:
$gameMap.requestRefresh(); should do the trick at the end of the event 🙂

but it also depends on your mechanic, if it does work after map transfer, than
the scriptcall might work out (at least on my mechanic) 🙂
$gameMap.requestRefresh(); should do the trick at the end of the event 🙂

but it also depends on your mechanic, if it does work after map transfer, than
the scriptcall might work out (at least on my mechanic) 🙂

Map transfer does seem to solve the issue, so if this script call works then it will save me endless additional headaches (hopefully)! Will test it shortly and report back if it's solved. Thank you as always @ShadowDragon !
if you have multiple event linked, you have to place them on each of them
to get it updated 🙂

on my end, its on 3-5 variables, and it does the trick on my end nicely,
I hope I got the scriptcall right, else I check my own event and correct it for you.
Maybe you should post the issue here and get help finding out what's causing it and fixing it, rather than getting help for a hack to work around it, which may or may not work, and may or may not leave other issues from the plugin that you haven't discovered yet.
Maybe you should post the issue here and get help finding out what's causing it and fixing it, rather than getting help for a hack to work around it, which may or may not work, and may or may not leave other issues from the plugin that you haven't discovered yet.

I appreciate that position @Shaz , obviously a "true fix" is preferred. The only reason I'm satisfied with a workaround here is that the bug I'm encountering is due to an inscrutable conflict between unknown plugins.

Rather than seek exhaustive help untangling a conflict between any number of the many plugins I'm using -- spending hours turning then on and off and reordering them, and asking for very broad help on the plugin support forum -- I determined it makes more sense to instead focus on the very simple thing that seems to solve the problem, which is a map transfer.

This bug only occurs in this one particular instance, so I'm happy with a hack :LZSsmile:
If this bug starts to occur elsewhere, that's when I will be happy to dig in and really pray to the forum gods. But sometimes, you just solder a big copper wire from here to there and be happy that it works :LZSwink: If this creates other problems, they would be the sorts of problems I understand and would be able to troubleshoot myself.

@ShadowDragon -- it doesn't seem like this script call is working, at least as I understand.

I'm testing it out now with a test event:

2023-05-04 01_12_33-ID_013 - Event Editor.png


The event moves to the right, but then doesn't return to its position after the script call. (There are no "Save Event Location" plugins running here.) It repeats this event page, which I realize it would do, given the self switch wouldn't revert on a map transfer.

Am I misunderstanding how to use this script call? Thanks for your help!!
to look at the part, that moveroute does nothing, but you didn't tell about
the moveroute, base move route probably stay, not entirely sure, if you want
to reset the moveRoute after its moved (like teleport) than you need to
set the moveroute to that point instantly, which does not affect the scriptcall
on reloading the map, which is a slightly different than change something
on the map itself.

moveroute with mapRelead stays, it just refreshes the map, which only affect
certain things like variable to be correctly, but not the other events.

so while it did work on my end on the mechanic, MoveRoute works different.
Either impliment that on the move route or custom move route to the start
or reverse the move route to go back and forth.
to look at the part, that moveroute does nothing, but you didn't tell about
the moveroute, base move route probably stay, not entirely sure, if you want
to reset the moveRoute after its moved (like teleport) than you need to
set the moveroute to that point instantly, which does not affect the scriptcall
on reloading the map, which is a slightly different than change something
on the map itself.

Ahh, glad I asked, I think I understand better how.

Not sure this script call would work in my case :LZSwink: But it's all good, I'm glad to know about it, and I have some other fixes to try.

Thanks again @ShadowDragon
Thread closed

Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-way-to-force-reload-an-event-while-on-a-map.157150/