If there are multiple, separate events which are autorun or parallel which goes first?

If it's pages within the same event it's from the right?
parallel processes that have their run conditions met will run...in parallel...at the same time, as the name indicates. this is necessary to accomplish some effects that can't be accomplished any other way.

if the conditions of two autorun events are met I have no idea how the program decides which event to run first (maybe it just runs lowest event index first?)or if it just locks up, I've never programmed a game to do this because it just seems kind of inadvisable?
If there are separate events, the one with the lowest event id will go first. However, only one autorun event will be active at a time - it will completely finish before another one starts.

If there are multiple pages in the same event, it will work from the highest page to the lowest, checking all the page conditions, until it finds a page that either has no conditions, or all conditions are met. Once it finds one, it will not check any other pages. So if you have two pages on an event with exactly the same conditions (or both with no conditions), only the highest numbered one will ever run.
Lowest id, as in smallest EV{number}? (I notice the id is the same as EV usually, so...) I'm sure higher ones took priority with parallel events I have...
Parallel events all run at the same time. None of them have priority.
Lowest id, as in smallest EV{number}? (I notice the id is the same as EV usually, so...)
That's just a default name, you'll notice you can click on it and rename it to whatever you want. The ID is shown in the upper left corner of the window.

And yes, that's what Shaz meant. Saying "small number" means a few, a small quantity of multiple items (there are a small number of users online right now). A low value refers to a number that is closer to 0 than another (2 is lower than 7).
In a single event, there can be only 1 active page, and a page with a higher number took priority.
Normal events (action/touch/autorun) all queue inside Game Interpreter by pages.
Until the page is finished, even if their condition is met, another active page will have to wait.

In multiple events, normal events still have to queue.
Event with lower ID will take priority.
The game will check all events conditions on the current active map at the same time and queue them accordingly inside the Game Interpreter.
Say, if you have 3 unconditional autorun events on a single map.
Without any termination, each of them will alternatively repeat themself starting from event with the lowest ID:
event 1 > event 2 > event 3 > event 1 > event 2 > event 3 > event 1 > event 2 > event 3 > ...

Parallel events act differently than normal events, that's why they are called "parallel".
They are not running inside the Game Interpreter, so they don't queue or following normal events rule.
It is immediately active and runs when the condition is met, and immediately cut off in the middle when the condition is terminated.
That's why it's risky to overuse them.
Because multiple of them are able to run at the same time, they may conflict with each other.
To clarify: there are no asynchronous event updates. Parallel events simply update in their own interpreters, after the main interpreter.

As I understand it, this happens each frame:
  • If the main interpreter is not busy, then map events are checked in order of ascending ID. If/when one is found that is "starting" (i.e. it has been triggered) then the main interpreter is populated with that event's commands.

  • The main interpreter updates its current event, if any.

  • All active map events with Parallel trigger update, one after another, from lowest to highest event ID.

  • All active common events with Parallel trigger update, one after another, from lowest to highest common event ID.
An interpreter can process multiple commands per frame, typically until it hits either the end of the event or some form of "wait" command.
@Misery
ignoring all the (correct) answers above, I think you're asking the wrong question.

If you get to any construct of events where the order of the parallels becomes important, then most likely you have already made a mistake and split effects that belong into a single event over multiple events.

There are many reasons why we usually tell people that in a single cutscene, EVERYTHING needs to be controlled by a single controlling event. One of the reasons is exactly to prevent your question about the order of parallel events.
If every command is in a single event then it does not matter in which order parallels are processed.

If you follow the link to the "Bughunting" tutorial in my signature, you'll learn more about the working of parallels and why it is a bad idea to have a structure that depends on the priority order of their processing.
If you really want to continue with a solution where order matters you can have just 1 parallel event that calls a bunch of common events in your desired order.
Yes, I agree. You can best learn event to use 1 autorun event at a time. There can be a lot of paralel event, but always use 1 autorun. That way you'll make sure what happens is what you want to happen.

Original thread: https://forums.rpgmakerweb.com/threads/if-there-are-multiple-separate-events-which-are-autorun-or-parallel-which-goes-first.140146/