Stop common event refreshing

Hi, i'd like to make a common event as a music player. But everytime i change map the common event refreshes itself so it interrupts the song. Any ideas how can i avoid this problem? Thanks for the answers!
Hi, i'd like to make a common event as a music player. But everytime i change map the common event refreshes itself so it interrupts the song. Any ideas how can i avoid this problem? Thanks for the answers!
To stop it from running you'd have to turn switch 6 off, then turn it on again when you want the event to resume.
To stop it from running you'd have to turn switch 6 off, then turn it on again when you want the event to resume.
Ahh nice, cheers mate!
To stop it from running you'd have to turn switch 6 off, then turn it on again when you want the event to resume.
Oh wait, if i turn the switch(6) off, then it repeats only the first song
Oh wait, if i turn the switch(6) off, then it repeats only the first song
Yeah, that's the problem. You need it running for the songs to play, but then if you change maps while it's running it's going to blip.
Yeah, that's the problem. You need it running for the songs to play, but then if you change maps while it's running it's going to blip.
I guess i have to put the songs in one .ogg file then. Thanks bud
Oh wait, if i turn the switch(6) off, then it repeats only the first song
Right, that's the part with
turn it on again when you want the event to resume.

You'll need to do something to keep track of the time that's not a Wait command inside that event. Maybe store a variable with the current system time and have a separate parallel event that's checking how many seconds it's been and reactivates the first one to choose a new random tune.

Original thread: https://forums.rpgmakerweb.com/threads/stop-common-event-refreshing.155632/