I made a day event when active breaks other events and I don't understand why?

To make a long story short, I'm making a game and I made a time of day event. I made event's in game based on the time of day, and it worked great. now I wanted to implement a days of the weekent event, since the time of day event worked properly, I thought copy and pasting it would work but it doesn't. I'll reply to myself down below to show what I mean.

any help is greatly appreciated.

thank you.

To make a long story short, I'm making a game and I made a time of day event. I made event's in game based on the time of day, and it worked great. now I wanted to implement a days of the weekent event, since the time of day event worked properly, I thought copy and pasting it would work but it doesn't. I'll reply to myself down below to show what I mean.

any help is greatly appreciated.

thank you.
here is the gardening event and the switch for it

To make a long story short, I'm making a game and I made a time of day event. I made event's in game based on the time of day, and it worked great. now I wanted to implement a days of the weekent event, since the time of day event worked properly, I thought copy and pasting it would work but it doesn't. I'll reply to myself down below to show what I mean.

any help is greatly appreciated.

thank you.

here is the time of day event.

To make a long story short, I'm making a game and I made a time of day event. I made event's in game based on the time of day, and it worked great. now I wanted to implement a days of the weekent event, since the time of day event worked properly, I thought copy and pasting it would work but it doesn't. I'll reply to myself down below to show what I mean.

any help is greatly appreciated.

thank you.

here's what I did for the days of the week

To make a long story short, I'm making a game and I made a time of day event. I made event's in game based on the time of day, and it worked great. now I wanted to implement a days of the weekent event, since the time of day event worked properly, I thought copy and pasting it would work but it doesn't. I'll reply to myself down below to show what I mean.

any help is greatly appreciated.

thank you.


here is the gardening event and the switch for it



here is the time of day event.



here's what I did for the days of the week

and here is one of the many triggers to switch from times of day
Hello.
And what/which part does not work...?
Welcome.

As it says in the section rules,

1730813223486.png


You've cropped a lot of information off of the event page screenshots that could explain what's going wrong in your game.

Also, you need to tell us exactly what the problem is. What should be happening? What is happening instead?
Welcome.

As it says in the section rules,

View attachment 322223

You've cropped a lot of information off of the event page screenshots that could explain what's going wrong in your game.

Also, you need to tell us exactly what the problem is. What should be happening? What is happening instead?
I'm sorry about that. I'll make sure to re read the section rules again.

so the cropped off images just had dialogue text. nothing I think would cause the event to not work. So when I have the time of day event running, the gardening event works, but when I have the days of the week event running at the same time, the gardening event doesn't work (i.e the character doesn't show up and I cannot interact with them).
The point is all of the actual event settings matter. Seeing the trigger type, potentially the priority, the event name, all of those can play a role in whether an event works correctly or not.
Ah thats why you meant, here I went and checked. both the time of the day and the days of the week are parallel. the two images of the days of the week wasn't large enough for one screen shot.
Well, a few things that stick out to me.

1 - it's odd that these are all map events. Maybe that's just for your testing, but one would assume the time system applies to your entire game, not just one map, so they should be common events.

2 - it's also odd that you have things split into two separate events instead of combined into one. As a general rule, you don't want to have more parallel processes running than you need.

Speaking of:
3 - you should almost never have a parallel event running without a Wait command at the top or bottom. By default, parallel and autorun events run every frame, 60 times a second. That could well be the cause of your issue: the event is checking the time every frame and restarting the tint, so you never actually see it happen.

You can see better examples of how to set up time systems in many existing threads, such as this (this would all go in one parallel common event):

1730828604165.png
Well, a few things that stick out to me.

1 - it's odd that these are all map events. Maybe that's just for your testing, but one would assume the time system applies to your entire game, not just one map, so they should be common events.

2 - it's also odd that you have things split into two separate events instead of combined into one. As a general rule, you don't want to have more parallel processes running than you need.

Speaking of:
3 - you should almost never have a parallel event running without a Wait command at the top or bottom. By default, parallel and autorun events run every frame, 60 times a second. That could well be the cause of your issue: the event is checking the time every frame and restarting the tint, so you never actually see it happen.

You can see better examples of how to set up time systems in many existing threads, such as this (this would all go in one parallel common event):

View attachment 322247
I honestly didn't know about having the wait command, when using autorun or parrallel, maybe that's why it wasn't working. I'll definitly try fixing this when I have the chance. This is also help with decluttering.

Thank you, you've been very helpful.
one additional comment:
the transfer command should be the last command of any event, unless the transfer stays within the same map - and even then it would be better.

all map events get deleted the second you leave the current map. and that includes the map event with the transfer.

most of the time the event processing sequence will continue the active event even on a map transfer, but only if everything runs in the same frame as the transfer command.
If there is any command that needs more time than that frame, then everything after it will never be processed, because in the next frame the event doesn't exist anymore.

so unless you know exactly what you're doing, you cannot guarantee that the commands after a transfer will be executed unless they are placed on the next map.
@Andar - to clarify, on transfer to a different map:
  • A Parallel event will halt immediately, but
  • A non-Parallel event will run to completion.
Transfer Player uses a wait mode to prevent the interpreter from processing any more commands until the transfer is complete, including any transfer fade-in. (If the transfer is performed via script call, it's possible to omit setting the wait mode, which could cause odd behaviour like you describe.)
Spoiler: technical explanation
When an event starts, its commands are placed into the applicable event interpreter; only the state of that interpreter determines when the event stops. A Parallel event's interpreter is a property of that Parallel event, and like you say, all events (including common events) are cleared on map transfer. By contrast, non-Parallel events run in the main interpreter, which remains intact on map transfer.

A simple test event:

◆Text:None, None, Window, Bottom : :Transferring... ◆Transfer Player:Another Map (5,6) ◆Text:None, None, Window, Bottom : :Transferred!
The "Transferred!" message shows only when the trigger is not set to Parallel.

(As always, plugins can change any aspect of the engine.)
Also, some commands (Erase Event and character-target commands) may behave unexpectedly if they originated from an event on a different map.
@Andar No offense, I know you're holding information about half a dozen different versions of RPG Maker in your head.

But I think you've been told about ten times that's not the case in MV and MZ 🤣

Original thread: https://forums.rpgmakerweb.com/threads/i-made-a-day-event-when-active-breaks-other-events-and-i-dont-understand-why.173017/