Ryuka

Veteran
Veteran
Joined
Feb 28, 2021
Messages
48
Reaction score
7
First Language
English
Primarily Uses
N/A
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!
 

Attachments

  • comonmusic.png
    comonmusic.png
    153.4 KB · Views: 13

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
6,151
Reaction score
6,300
First Language
English
Primarily Uses
RMMZ
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.
 

Ryuka

Veteran
Veteran
Joined
Feb 28, 2021
Messages
48
Reaction score
7
First Language
English
Primarily Uses
N/A
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!
 

Ryuka

Veteran
Veteran
Joined
Feb 28, 2021
Messages
48
Reaction score
7
First Language
English
Primarily Uses
N/A
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
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
6,151
Reaction score
6,300
First Language
English
Primarily Uses
RMMZ
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.
 

Ryuka

Veteran
Veteran
Joined
Feb 28, 2021
Messages
48
Reaction score
7
First Language
English
Primarily Uses
N/A
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
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
8,875
Reaction score
6,677
First Language
English
Primarily Uses
RMMV
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.
 

Latest Threads

Latest Profile Posts

imgur sure is getting weird, one day I lose gradually all my images, the other I get them back randomly and then again they disappear again.
Despite OPT2 praise it still has some strange stories in it. Lady Mikka is trying to work herself to death because of guilt. Guilt over what? ¯\_(ツ)_/¯ So instead of finding a NPC to have a heart to heart with her they decide the cure is a new kimono. So when she drops dead she'll at least be well dressed. I haven't even got to the strange part yet.
Did so much work on the game today. I wish I could post it all in this status update but there is a character limit of course haha. I thought about making a topic for updates, though... maybe.
The most recent sign that I am old. I have done martial arts for over 4 decades. Never HAD to stretch out. Good, of course, but never required. Was doing some kicks in the kitchen because, why not, and I felt a pop in the back of my thigh. Now I am limping around. Gotta love getting old.
One of the biggest perks of being fluent in English is how many new and interesting recipes I am able to find and try out that I would have hardly come across if I just spoke my mothertounge :3

Forum statistics

Threads
131,683
Messages
1,222,229
Members
173,435
Latest member
TheAmplifier
Top