08-14-2015, 04:21 AM
It is a little known fact that map events in RPGMaker XP do not always automatically refresh upon command if the action asking the event to refresh is being performed by ANOTHER event.
In other words, if you asked ONE event to refresh, it will. If you ask ONE Event to do something, the other event may not immediately refresh. This isn't always the case, but a sometimes factor (including here). Smaller codes... no issues.
There IS a way to solve this (actually a few, but I'm not gonna talk rewriting the switches section now):
Add the following 'script call' right after you turn your switch on:
$game_map.need_refresh = true
This will force the game map to refresh, and re-check every visible event.
In other words, if you asked ONE event to refresh, it will. If you ask ONE Event to do something, the other event may not immediately refresh. This isn't always the case, but a sometimes factor (including here). Smaller codes... no issues.
There IS a way to solve this (actually a few, but I'm not gonna talk rewriting the switches section now):
Add the following 'script call' right after you turn your switch on:
$game_map.need_refresh = true
This will force the game map to refresh, and re-check every visible event.