Instantly stop BGS from playing?

Status
Not open for further replies.

KotoYama

Veteran
Veteran
Joined
Apr 20, 2019
Messages
148
Reaction score
12
First Language
Spanish
Primarily Uses
RMMV
Can I somehow instantly stop BGS or BGM from playing without any fadeOuts? My only thought was to play another audio file with no sound what so ever instead, but I still get delays from time to time.
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,517
Reaction score
14,246
First Language
English
Primarily Uses
RMVXA

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



You can do this for BGM by play BGM None. I think play BGS None may do the same, but I usually do Fade out BGS and the shortest time it will accept (1 frame I think it is).
 

GGZiron

Veteran
Veteran
Joined
Nov 6, 2016
Messages
88
Reaction score
32
First Language
Bulgarian
Primarily Uses
RMVXA
That should work.

JavaScript:
AudioManager.fadeOutBgm(0);// for BGM
AudioManager.fadeOutBgs(0);// for BGS
 

KotoYama

Veteran
Veteran
Joined
Apr 20, 2019
Messages
148
Reaction score
12
First Language
Spanish
Primarily Uses
RMMV
Yeah, I think I had problems cause I was using the "proximity" BGS plugin which can get a little buggy and interfere with sound commands. I've ended up using Script Call "AudioManager.fadeOutBgs(0.1);" instead.
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,323
Reaction score
8,521
First Language
English
Primarily Uses
RMMV

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

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

Latest Threads

Latest Profile Posts

Once again working on a game I'm not sure I'm going to sell or even publish
That feel when you're awake past midnight and suddenly you're one year older :ninja:
I miss collaborations, but I don't know how to find someone to make face parts just to share them with others, and even though I don't like writing or music, I can't trust anyone with writing on my game because it has themes that are easy to mess up, and music needs a clear tone and scenes.
People donating to me for my upcoming birthday so I can pay my team a little. Such angels, I'm so happy. T uT I smile so much my face hurts. Good souls in this world.
Playing Ragnarok Online again is very nostalgic. The last time I played it was 20 years ago, when I was ten-twelve old.
My first mmorpg.^^

Forum statistics

Threads
105,571
Messages
1,014,723
Members
137,245
Latest member
dashstop
Top