Autorun event priorities.

Hi there! this is just a quick question I haven't been able to find a straight answer to. How does the engine handle two autorun events that both have their conditions met when you enter an area? I have two events one a quest-line trigger and the other a simple cutscene but depending on the player's actions they both may try to trigger at once. Is there any way to determine which event has the highest priority? Or even to set it? I need to be able to determine this because if they both try and trigger one after another it would .. for a start appear somewhat unnatural and for second result in the player trying to do a movement route with an unpredictable starting location which in all likelihood will break that event. Thanks in advance! 🙂
I think you'd have to make a switch on one of the autoruns so it can occur after the other autorun.
I'm fairly sure it'll go based on who's event ID is lower, if they both have their conditions met.
try it and see?
Timing on autoruns and parallel processes is always a problem, simply because it is almost impossible to determine the order.


The solution is not to look for an order, but to clear up the system and use as few of them and make them as independently from each other as possible.


That said, two advices:


It is not possible to have to autoruns going at the same time (unless you get really tricky with waits which is not what any sane person should try), so one of those autoruns will always be completed befor the other starts.


You might also wish to follow the link "bughunting" in my signature. I included some paragraphs about timing problems there, but they're more background info with only minimum info on how to solve or prevent them.
Ok cool .. I did try several solutions. Simply leaving it as is actually resulted in it firing in varying orders sometimes breaking the process sometimes not. I solved it in the end because the questline uses a variable to track it's progress. I added a secondary trigger to the minor cutscene so that it can't trigger before the questline start cutscene has happened. And I made the questline start cutscene force the player out of the house at the end of it. It's a bit awkward. But it works ...


It would just be nice to know the rules XD .. if there even are any.

Original thread: https://forums.rpgmakerweb.com/threads/autorun-event-priorities.67409/