- Joined
- Jul 22, 2018
- Messages
- 16
- Reaction score
- 1
- First Language
- Spanish
- Primarily Uses
- RMVXA
Hi! Sorry to bother with this question, but I'm having trouble with a common event I've been working with, so any help is welcome.
First of all, I know there are scripts that achieves this very easily but I really love eventing.
Having said that, this is my time progression system:
First common event takes care of advancing time 10 minutes every 12,5 seconds. This way an ingame day would take half a real hour. (Changed it to 30 or 60 frames when testing)
Second common event is the one that makes the hours go by. Every 6 iterations of the first common event an hour is added in the variable "hours" and the variable "minutes" is set to 0. Also when the variable "hours" reaches 24, it's set to 0.
The third event is the one that divides the time in ranges, which allows events to behave differently in different moments of the day.
Now the problem I'm experimenting is really weird, because It's kind of random. Time goes by smoothly most of the time but at some point, which I can't seem to reproduce, when the variable minutes reaches 6, instead of turning automatically to 0 (second Common Event) it keeps going up.
I would really apreciate your help with this one because I feel I'm really close to getting it to work consistently.
Thank you!
PS: Sorry for all the spanish, but I guess it's still understandable. Besides, it's never too late to learn some ESPAÑOL.
First of all, I know there are scripts that achieves this very easily but I really love eventing.
Having said that, this is my time progression system:
First common event takes care of advancing time 10 minutes every 12,5 seconds. This way an ingame day would take half a real hour. (Changed it to 30 or 60 frames when testing)
Second common event is the one that makes the hours go by. Every 6 iterations of the first common event an hour is added in the variable "hours" and the variable "minutes" is set to 0. Also when the variable "hours" reaches 24, it's set to 0.
The third event is the one that divides the time in ranges, which allows events to behave differently in different moments of the day.
Now the problem I'm experimenting is really weird, because It's kind of random. Time goes by smoothly most of the time but at some point, which I can't seem to reproduce, when the variable minutes reaches 6, instead of turning automatically to 0 (second Common Event) it keeps going up.
I would really apreciate your help with this one because I feel I'm really close to getting it to work consistently.
Thank you!
PS: Sorry for all the spanish, but I guess it's still understandable. Besides, it's never too late to learn some ESPAÑOL.



