- Joined
- Jan 26, 2021
- Messages
- 18
- Reaction score
- 3
- First Language
- English
- Primarily Uses
- Other
Plugin Link: https://dk-plugins.ru/game-time/
I'd like to set up a common event to tint the screen based on the current hour (Hours 6,12,18,24 if that matters)
I tried to do this with a common event loop, but that was a terrible idea. Initially I made a parallel common even that would change a variable called timeHours to be equal to the ingame hour using the script $gameTime.hour from the plugin. Then I made another common event that would loop and check that variable to see the time and then tint the screen. As I've discovered, loops in common events are bad ideas, as they lag the hell out of the program.
Any tips on what I should do?
I'd like to set up a common event to tint the screen based on the current hour (Hours 6,12,18,24 if that matters)
I tried to do this with a common event loop, but that was a terrible idea. Initially I made a parallel common even that would change a variable called timeHours to be equal to the ingame hour using the script $gameTime.hour from the plugin. Then I made another common event that would loop and check that variable to see the time and then tint the screen. As I've discovered, loops in common events are bad ideas, as they lag the hell out of the program.
Any tips on what I should do?
Last edited: