Set the order of execution of multiple autorun events

WhimsicalFae

Warper
Member
Joined
Nov 28, 2020
Messages
3
Reaction score
0
First Language
English
Primarily Uses
RMXP
I have two autorun events (one triggers an animation of a door opening, the other triggers a NPC to come greet the player if a certain condition is met). But they are not running in the order I desire - the character comes greet the player before the door opens.

The question is, how can I make it so the door event always triggers first?
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,937
Reaction score
14,774
First Language
English
Primarily Uses
RMVXA
Autoruns run in the event order by ID. If you need them to run in a precise order you should use one event and have it control both items.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,724
Reaction score
8,508
First Language
German
Primarily Uses
RMMV
combine them into one autorun that controls both the door and the NPC to let them move in the order you want them to move.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
43,427
Reaction score
15,219
First Language
English
Primarily Uses
RMMV
You should not have 2 autorun events active at the same time. Parallel Process events will run at the same time, but autorun events will only run one at a time, and I believe the order is according to the event id.

If the two are linked, just have one controlling autorun event that makes the NPC walk to the correct point, then open the door, then (I assume) walk to the player.

Otherwise if they're actually independent and have different triggers, make the one that's going to be finished first a parallel process event, and the one that's going to take longest an autorun.
Or, depending on what triggers them both (say, stepping onto a certain tile with a Player Touch trigger), make THAT event control the others and avoid autorun and parallel process altogether.
 

Latest Threads

Latest Profile Posts

Worked on a cutscene skip domino effect using Maker Systems' script as the basis. Basically if I have a batch of cutscenes in a row on different maps, now when you skip one cutscene it will skip the entire set. No more spamming X to skip a scene every new map.

Oh and it will work regardless of where you do it from in the set. Convenient!
seems absolutely WILD to me now all the hundreds of hours of work I used to do in 2k(3) over a decade ago with a resolution of 320x240. that seems so insanely TINY now, seemed so normal at the time!
Playing Aroma Indosiar theme song.
Aroma is an Indonesian TV show about cooking. :)
Working on a characteeer! (Why is it so hard to color hair?) ;-;
Silly-Sketches.png
Just finished eventing a couple simple puzzles in RMMV, for my very first game "Sample Quest." Just messing around, throwing things together, and calling it a story XD On a non-RM note, got my hair cut today!

Forum statistics

Threads
115,376
Messages
1,089,384
Members
150,074
Latest member
Blazeymix
Top