On Step Script Priority

Ask and answer questions about making games and related topics. Unrelated topics go in that other forum.

Moderators: marionline, SDHawk

Post Reply
User avatar
Willy Elektrix
Liquid Metal Slime
Posts: 910
Joined: Sun Aug 15, 2010 11:30 pm

On Step Script Priority

Post by Willy Elektrix »

I have a room with an on-step script an an instead-of-battle script. Which goes first if they should both trigger simultaneously?

When one finishes, will the other run? Or will only one actually end up triggering?
Last edited by Willy Elektrix on Sun Feb 01, 2015 5:47 pm, edited 1 time in total.
User avatar
Bob the Hamster
Lord of the Slimes
Posts: 7658
Joined: Tue Oct 16, 2007 2:34 pm
Location: Hamster Republic (Ontario Enclave)
Contact:

Post by Bob the Hamster »

I don't remember which goes first (I can look it up tomorrow) but I can tell you that they both definitely run
TMC
Metal King Slime
Posts: 4308
Joined: Sun Apr 10, 2011 9:19 am

Post by TMC »

The each step script runs first. I meant to document that, but for the longest time I thought I had already.

The order of precedence of different script triggers is completely arbitrary, but can't be changed now.
Last edited by TMC on Mon Feb 02, 2015 6:26 am, edited 1 time in total.
User avatar
Willy Elektrix
Liquid Metal Slime
Posts: 910
Joined: Sun Aug 15, 2010 11:30 pm

Post by Willy Elektrix »

TMC wrote:The each step script runs first. I meant to document that, but for the longest time I thought I had already.
Good. That suits me just fine. Thanks for letting me know.
Post Reply