Question about autorun events

ScorchedGround

Blizzards most disappointed fan
Veteran
Joined
Apr 12, 2020
Messages
331
Reaction score
486
First Language
German
Primarily Uses
RMMV
I'll make this quick:

If I have two autorun events that activate at the same time upon entering the map, which one is given priority?
Because I know for a fact they don't actually run at the same time.
 

Alador

The Mage of Mythix
Veteran
Joined
Apr 16, 2020
Messages
162
Reaction score
141
First Language
English
Primarily Uses
RMMV
I don't know for sure, but I imagine that the "Priority ___ Characters" button has something to do with that.

The button has three states: Priority is Below Characters, Priority is the same as Characters, and Priority is Above characters. I think that this could have something to do with that.
 

Aerosys

Veteran
Veteran
Joined
Apr 23, 2019
Messages
379
Reaction score
354
First Language
german
Primarily Uses
RMMZ
I think it's the event with the lower event Id.
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,938
Reaction score
1,044
First Language
Dutch
Primarily Uses
RMMV
if you have autorun event 006 and autorun event 007, than 006 will run,
and 007 might be skipped, while you cant run both. and it might crash because they
both want to run.

so if 1 autoeevent is running, make sure the other autorun event only run:
a) on the next page
b) with a switch or variable to run after the 1st is completed.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,418
Reaction score
7,709
First Language
German
Primarily Uses
RMMV
@ScorchedGround
I suggest you follow the link to the tutorial "bughunting" in my signature, that is where I wrote something about parallel processes, autoruns and their order in the game loop.

That said, I strongly suggest you rework the logic by combining the two autoruns.
Because if the two autoruns are truly independent, then the order should not matter - and if the order does matter, then you are always better off by taking control of the order by placing all commands into a single autorun with one or the other sequence being first.

If you think you have a special case where that doesn't fit, please show us what those two autoruns do and we can see if we can help you improve them.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Frostorm wrote on Featherbrain's profile.
Hey, so what species are your raptors? Any of these?
... so here's my main characters running around inside "Headspace", a place people use as a safe place away from anxious/panic related thinking.
Stream will be live shortly! I will be doing some music tonight! Feel free to drop by!
Made transition effects for going inside or outside using zoom, pixi filter, and a shutter effect
I have gathered enough feedback from a few selected people. But it is still available if you want to sign up https://forums.rpgmakerweb.com/index.php?threads/looking-for-testers-a-closed-tech-demo.130774/

Forum statistics

Threads
105,992
Messages
1,018,195
Members
137,773
Latest member
Kirakirna
Top