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
8,033
Reaction score
5,334
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

Very very lazy
Veteran
Joined
Jun 15, 2017
Messages
1,047
Reaction score
2,440
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.
 

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:
 

Latest Threads

Latest Posts

Latest Profile Posts

I'm moving on from RMXP finally. I've been stuck in a difficult decision between XP and MZ, and I've given up and moved on to MZ. Overall I'm really liking it, I wish tilesets were easier to setup like XP, but it's actually not that bad!
Have you ever gone full 'Ship of Theseus' while frankenspriting? Because I just did.
I saw my new eye doctor today, he reminds me of Satoru Iwata for some reason
I've been using a modified version of a script called Multiple Messages. It makes my text boxes look like a Mario & Luigi game! There is something about it that bothers me a little bit, but I shouldn't worry about that now.

Side note, Mist's walking animation is almost perfectly in sync with Loose Yourself by Eminem.
Starting work on some stuff for the community. Hopefully it will be fun, and useful to somebody.

Forum statistics

Threads
107,773
Messages
1,032,041
Members
139,916
Latest member
Senzapaura
Top