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
6,990
Reaction score
4,739
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

Sodium girl is on a break
Veteran
Joined
Jun 15, 2017
Messages
617
Reaction score
1,273
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,424
Reaction score
5,160
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

Small rant: While using SRD Hud maker for a battle hud, I typed in the wrong script call and got an error, but then forgot to delete the piece that caused the error before closed the Hud maker and hit F5 to restart the game. Now everytime I engage in a battle my game crashes...
:kaolivid:
Would Jump into Javascript be best off continuing to break down the MV core files, or would people prefer a quick detour to cover everything that's changed in the core from MV to MZ?
Not going to lie... PIXI Particles make fantastic graphics... But predicting the hitbox of something with a "fixed size" but whose graphics can stick out past that, is quite challenging. :kaoswt:
Would you like a glass of spiders?

Forum statistics

Threads
100,530
Messages
976,896
Members
132,081
Latest member
Kaezyelnatz
Top