BGS save/reload bug

I think I found a bug regarding BGS's. I have an event that plays a BGS when you approach a certain event, and another event to fadeout the BGS when you step away from it. I found that saving and reloading causes the BGS to play again until the event is activated to fade it out once more. So it seems the BGS never truly stops. It will even continue playing if you transfer to a different map 😮
Isn't BGS supposed to continue when you change maps? As for that saving/loading and fadeout, you'd probably have to show people how you set up your events 😀
Okay you've got a point regarding going to different maps XD
Eh, the two events are pretty simple that are activated with the player steps on them. One activates the BGS, and the other fades it out over 2 seconds.
When you load the game, it should play the BGS that is set as default for the current map. If you have no BGS on that map, you can put "none" as default. You do need to check "Autoplay BGS" then, though.

This will mute the BGS when the game is loaded on that map, or when re-entering the map after transferring to another map.

Isn't BGS supposed to continue when you change maps? As for that saving/loading and fadeout, you'd probably have to show people how you set up your events 😀
Depends. If you have autoplay checked in the target map, then it will keep playing. If you have it checked on but no BGS selected, it mutes.

1681234585317.png
Okay you've got a point regarding going to different maps XD
Eh, the two events are pretty simple that are activated with the player steps on them. One activates the BGS, and the other fades it out over 2 seconds.

And you mean that if you step on the activating tile and the BGS starts playing and then you step on the fadeout tile and the BGS ends, if you save and load after that, the BGS is playing? Or what?
Annnnnnnnnnnnnnnd I just discovered it is one of those 'sometimes does sometimes doesn't' bugs.
I'll try the solution @JohnDoeNews suggested. I literally just read the same solution on a VXAce thread, so fingers crossed.

@rpgLord69 Yes exactly, but as I just posted... sometimes yes, sometimes no. I've loaded a few different saves where the BGS had already played and faded out, and only one of those saves had the issue...
Annnnnnnnnnnnnnnd I just discovered it is one of those 'sometimes does sometimes doesn't' bugs.
I'll try the solution @JohnDoeNews suggested. I literally just read the same solution on a VXAce thread, so fingers crossed.
Yeah, this is one of those things that when you know it, it seems so obvious. Please let me know if this solved it.
I feel like the Map Properties shouldn't be involved in this if you were playing the BGS through an event. However, if it isn't that, I'm not sure where else to look.
@JohnDoeNews Yes that solved the issue. I expected that solution to interfere when loading a save where the player was standing where sound SHOULD be playing, but it hasn't yet. I'll test more later... got to run to work now. Thanks for the help 🙂
@JohnDoeNews Yes that solved the issue. I expected that solution to interfere when loading a save where the player was standing where sound SHOULD be playing, but it hasn't yet. I'll test more later... got to run to work now. Thanks for the help 🙂
It is an "under character" event with "player touch" trigger? Then it only triggers the moment the character steps on the tile. If it is already standing on that tile when the game or map loads, it wont be triggered.

I feel like the Map Properties shouldn't be involved in this if you were playing the BGS through an event. However, if it isn't that, I'm not sure where else to look.

The map properties contain the BGS and BGM which is played at the moment the map is loaded, so I think it is the perfect place to fix it, since they want the sound gone when reloading the map.

Actually, I think it is the only way.
The map properties contain the BGS and BGM which is played at the moment the map is loaded, so I think it is the perfect place to fix it, since they want the sound gone when reloading the map.
I know that, but I figured if you never specified anything in that box and left it unchecked and blank that it wouldn't interfere with you starting up and stopping a BGM or BGS from an event.

Well, whatever. I'll file this away for future reference. Good work.
If it is unchecked, it will just resume the last played BGS. But when checked and none is selected, it will play none.

If you indeed have a BGS in there, and an event would silence it or changes it, then on reloading the map (trough transfer or load game) it will play the default BGS again, and not the one selected by the event. Same happens with BGM.

So if the default BGS or BGM is "none", it will play none when the map is loaded, so it effectively silence the ones already playing.

I don't know if it was ever intended like this, but I think it works perfectly: check on means it puts BGS to silent (or default selected BGS) and unchecked makes it keep playing the current BGS
Yeah, I realized the logic ten minutes after I posted last. It's obvious in hindsight, considering making a default BGM or BGS to be "none" logically means that you will always have silence.

Once again, good work @JohnDoeNews

Original thread: https://forums.rpgmakerweb.com/threads/bgs-save-reload-bug.156586/