Piano sound

huda

Villager
Member
Joined
Oct 11, 2018
Messages
20
Reaction score
2
First Language
Arabic
Primarily Uses
Other
hey everyone!
On my project, the player can click on the piano and two choices will be shown: if yes, it will play a piano sound and if no it won't.
The thing is, when they click yes the piano sound will keep playing even when they leave the room. I want the sound to stop the moment they leave the room if that's possible.

Thanks In Advance.

 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
7,007
Reaction score
4,746
First Language
Dutch
Primarily Uses
RMXP

I've moved this thread to MV Support. Please be sure to post your threads in the correct forum next time. Thank you.

 

Hyouryuu-Na

Procrastinates 24/7
Veteran
Joined
Jun 15, 2017
Messages
639
Reaction score
1,351
First Language
Not English
Primarily Uses
RMMV
That's an SE right? Then why won't it stop playing? Is the event set to parallel? :/
 

huda

Villager
Member
Joined
Oct 11, 2018
Messages
20
Reaction score
2
First Language
Arabic
Primarily Uses
Other
That's an SE right? Then why won't it stop playing? Is the event set to parallel? :/
no the event is action button. It will stop if the players clicked again and choose no, but if they didn't it will keep playing even when they go to a different place and that's the problem, I want it to automatically stop the moment they leave the room because not all the players will stop it before leaving.
 

hiddenone

Lurker Extraordinaire
Global Mod
Joined
Feb 19, 2014
Messages
2,430
Reaction score
5,169
First Language
english
Primarily Uses
RMMV
You could put the stop SE command in the transfer event to leave the room, so that it will stop when the player leaves.
 

huda

Villager
Member
Joined
Oct 11, 2018
Messages
20
Reaction score
2
First Language
Arabic
Primarily Uses
Other
You could put the stop SE command in the transfer event to leave the room, so that it will stop when the player leaves.
thank you so much, It worked :ywink:
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Quexp wrote on Shaz's profile.
I absolutely love your profile/pic! :kaoluv:
Stream will be live shortly with some Darkest Dungeon! Feel free to drop by!
I made a battle results screen for my minigame.. any feedback? :)
Things I thought would never happen but just did: I needed to use my snow shovel. In August. In the Northern Hemisphere.
So I finished Cupcake, now I need to figure out my next project!
Do I pick up one of my incomplete games?
Do I start something entirely new???
The possibilities are endless!

Forum statistics

Threads
100,682
Messages
978,384
Members
132,308
Latest member
Amarina
Top