(Hopefully this is the place to put this. Sorry, I'm new.)
I recently added a common event for a 24 hour time clock into my game. Every 15 minutes it will register that 6 hours has gone by. I'm using the method where you have a certain amount of frames tick a variable up, representing a minute, and then that variable will reset at a certain number and tick up a different one, for an hour. Every 6 hours I have switches to change the lightning, and at 24 hours, it resets completely. Pretty simple.
My problem is that I would like to have it where a bell toll goes off once every time it changes. I have the sound effect for it, but when it hits that point, it just keeps repeating the sound faster and faster without even the full cycle going through. I thought that maybe it was because I was using greater than/equal to on the variables, but even if I set it to = and have it wait the entire hour until it shouldn't be the same number, it continues going off at its regular pace.
I've tried adding the sound to remote events (both common and on a map) and controlling it with switches, having the switch start the sound and then turn itself off (or having the main event shut it off right after starting it), but the same thing happens. It still happens even when I add Erase Event after the sound goes off. I've tried adding Stop SE, but if I do it directly after, the sound doesn't go off at all, and if I put in wait lines up to the length of the event and then tell it to shut off, it will just repeat it.
I've messed around a bit with normal parallel triggers, but not much with Common Event ones. Is there a way to have something trigger once in a common event and then shut off until the next cycle?
EDIT: Here's some screenshots showing the main things I've tried. Hope this helps.
I recently added a common event for a 24 hour time clock into my game. Every 15 minutes it will register that 6 hours has gone by. I'm using the method where you have a certain amount of frames tick a variable up, representing a minute, and then that variable will reset at a certain number and tick up a different one, for an hour. Every 6 hours I have switches to change the lightning, and at 24 hours, it resets completely. Pretty simple.
My problem is that I would like to have it where a bell toll goes off once every time it changes. I have the sound effect for it, but when it hits that point, it just keeps repeating the sound faster and faster without even the full cycle going through. I thought that maybe it was because I was using greater than/equal to on the variables, but even if I set it to = and have it wait the entire hour until it shouldn't be the same number, it continues going off at its regular pace.
I've tried adding the sound to remote events (both common and on a map) and controlling it with switches, having the switch start the sound and then turn itself off (or having the main event shut it off right after starting it), but the same thing happens. It still happens even when I add Erase Event after the sound goes off. I've tried adding Stop SE, but if I do it directly after, the sound doesn't go off at all, and if I put in wait lines up to the length of the event and then tell it to shut off, it will just repeat it.
I've messed around a bit with normal parallel triggers, but not much with Common Event ones. Is there a way to have something trigger once in a common event and then shut off until the next cycle?
EDIT: Here's some screenshots showing the main things I've tried. Hope this helps.