I have non-moving events to control the lights, and moving events that are my mobs and initiate combat if collided with. The problem is that sometimes combat will start while the player is moving onto a light control event and the combat fires off but the light controls don't. I absolutely cannot have lights not working correctly. Earlier someone suggested that event ID plays some role in prioritizing what event happens when, but this simply isn't actually true.
Event priority problem
RPG Maker MZ SupportThe code in rmmz_objects does show that the events will trigger smallest ID first. So I'm not sure what you mean with "isn't actually true" but that's simply how it behaves in Vanilla MZ AFAICT.
I would want to advise you to seriously consider changing to a different mechanic for your lighting, but assuming that is off the table, you could try rearranging your events so that your mob events' IDs are consistently higher than your lights' IDs.
Also, I know you've been around for a while but I would like to suggest that you take a look at the template. With the amount of info in your OP there's a lot I can only guess at, both regarding your setup as well as the solution you are looking for.
I figured a general question about the engine function didn't need any screenshots because it was a general question. I can toss some screenshots in if it'll make you feel better though.
What the hell is wrong with you, seriously? I’m not asking for screenshots because it would make me feel better. Hell, I’m not even asking for screenshots per se.
You seem to have a problem. Your posting on the forum makes me think that you are looking to have it solved.
If providing more information is too much effort in your eyes and warrants such a snarky remark, I’m outa here bro. What a terrible waste of energy.
You seem to have a problem. Your posting on the forum makes me think that you are looking to have it solved.
If providing more information is too much effort in your eyes and warrants such a snarky remark, I’m outa here bro. What a terrible waste of energy.
The issue is that under normal circumstances, the way it works is exactly how you said it doesn't. More information is needed in such cases, such as how you have it set up, plugins being used, etc....
its not to make him feel better. its to better help sort out your issue
Original thread: https://forums.rpgmakerweb.com/threads/event-priority-problem.179522/