Multiple event collision priority.

I have two general classes of events, non-moving events that control the lights and line of sight, and moving events that are the enemy mobs and initiate combat upon contact. The issue is that at just the right moment the moving events initiate combat while the player is moving over a light trigger and the lights don't change. Is there some sort of prioritization method?

I will begrudgingly accept that I have to learn a more sophisticated lighting engine.
If multiple events would get triggered by the same action, they should be resolving in ascending order of event ID.
If multiple events would get triggered by the same action, they should be resolving in ascending order of event ID.
That is fantastic news, I was legit preparing myself to learn a different lighting engine and spend several more months changing that system again.

Thank you so much for the quick response.

Original thread: https://forums.rpgmakerweb.com/threads/multiple-event-collision-priority.173063/