Have Event Continue Running When Player Leaves Map

Hi all.
I've set up an event where:
  1. Player uses action button on NPC
  2. NPC delivers some dialogue (eg. "listen to this")
  3. NPC plays BGM (47 second clip)
  4. While the music is playing the dialogue is different (eg. "Rock Out")
  5. Waits a while
  6. Fades out BGM
  7. Dialogue changes to a third option which will start again from step 3.
This is all working fine, but if I change to another map while the music is still playing it just keeps repeating as the Event isn't able to complete and fade out the music and whatnot.

Any work around for this? Been trying to find plugins that allow for certain events to continue working off screen but so far they don't seem to work for MZ.

THANKS!!!

RPG maker Musician help.png
thing is, if you transfer to a different map, the map isn't loaded anymore,
any event there wont continue and no plugin would help you.

it only runs the current map and their events inside of it, if you want to continue,
so upon leaving, you can fade out any bgm before transfer if they are active.

(this is also the same issue for MV)
As @ShadowDragon said, you would want to fade out the BGM and also turn on or off the appropriate switches just prior to the Transfer Event taking place. Then, when you return to the map, the Event should be ready to go on the correct page.
Thanks guys, figured that would likely be the case. Was going to do as you suggested but thought I'd double check there wasn't a better option.

Cheers!

Original thread: https://forums.rpgmakerweb.com/threads/have-event-continue-running-when-player-leaves-map.164528/