Day&Night Cycle

Hello everyone, doing good?I need a bit help with a Day&Night cycle I did using commom events+tint screen.The idea is the system continue through the outside maps (until here I managed to work), however when I get inside a building/cavern it continues too, are/is there any way to stop this cycle inside and return normally outside?
You could turn the switch off that activates the common event or have an "inside" switch that you flip on during your transfer event to the inside map and then before you fade in to the inside map tint your screen appropriately. Then inside your common event that controls the tint, before you tint the screen, do a conditional branch that checks to see if inside switch is off then do tint screen stuff.
The way i did it was with a check/switches.


But I'm realizing an even easier way might be to just add a note tag to the map itself <inside> (or whatever you're checking for) and in whatever common event you have set up that is adjusting the lighting add in a check:
1713262733118.png


Then run whatever lighting in your event/common event with that check:

1713262771266.png



Can confirm that works
You could turn the switch off that activates the common event or have an "inside" switch that you flip on during your transfer event to the inside map and then before you fade in to the inside map tint your screen appropriately. Then inside your common event that controls the tint, before you tint the screen, do a conditional branch that checks to see if inside switch is off then do tint screen stuff.
I finally managed to make it work through the flip, thanks a lot for your help <3

The way i did it was with a check/switches.


But I'm realizing an even easier way might be to just add a note tag to the map itself <inside> (or whatever you're checking for) and in whatever common event you have set up that is adjusting the lighting add in a check:
View attachment 302092

Then run whatever lighting in your event/common event with that check:

View attachment 302093


Can confirm that works
I tried this method too, but everytime I transferred to the inside map it appeared an error screen.
I tried this method too, but everytime I transferred to the inside map it appeared an error screen.
What was the error screen?
I tried this method too, but everytime I transferred to the inside map it appeared an error screen.
Did you by chance take a screenshot of the error? and also share screenshots of the map notetag and event you're running as well please
You could turn the switch off that activates the common event or have an "inside" switch that you flip on during your transfer event to the inside map and then before you fade in to the inside map tint your screen appropriately. Then inside your common event that controls the tint, before you tint the screen, do a conditional branch that checks to see if inside switch is off then do tint screen stuff.
Make a conditional with that switch if ON it not tint the screen, if false, it tint the screen. So, you timer still running on the background (If you wanna make the time count even inside)
You need to put the switch on in every event door that lead to an inside.
Did you by chance take a screenshot of the error? and also share screenshots of the map notetag and event you're running as well please
Sorry I didn't take a screenshot, but was something similar to this one.
something similar to this one.
Something similar or did it say exactly "Error Script error."?
Yea I'm really curious how it didn't work

Original thread: https://forums.rpgmakerweb.com/threads/day-night-cycle.167777/