Is there a way to activate events when they become visible to the player?

I am making a chase scene where certain stuff appears on the screen when player runs into proximity. I could always just time those events, but it would require hundreds of test runs to get the timing just right for each of the events. And it can't account for player slowing down a little in certain parts. Another thing i could think of is placing the wall of invisible events that activate when players stands on them, and then activating event ahead, but that would dramaticly increase amount of events on already event-heavy map, and i am worried to not cause lag on low-end pc's. Sadly rm is now known as most optimized engine.

Would be so much better if event just started playing as soon as it is displayed on player's screen, but i haven't found any way to do that so far. Maybe someone else did?
where certain stuff appears on the screen when player runs into proximity
How are you making them appear?
How are you making them appear?
For example, event that has transparrant image changes it to the one needed, and starts moving to the place (like rock falling from above).
you can make the other event triggered from a parallel process that reads out the player coordinates.

However there is already something similar: autonomous movement is only active beginning in a certain distance from the player, a distance that is a few tiles larger than the screen. outside that area autonomous movement stops.


both solutions are a bit tricky with the timing and not exactly what you want, but they are default options and always available.
Use a distance checking script in a parallel event or a plugin like Moghunter Event Sensor

Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-way-to-activate-events-when-they-become-visible-to-the-player.174543/