*Reposting this question from the RM subreddit*
I'm making the transition between scenes a bit smoother. Specifically, I slowed down the fade-in and fadeout for the screen and the BGM when a Transfer Player Command is ran.
I was able to write a super simple plug-in that accomplished most of this. However, I'm getting hung up on one little thing.
Upon Transfer Player, I want the BGM to fadeout if and only if the new Map has an Autoplay BGM assigned to it. If the new Map doesn't have an Autoplay BGM assigned to it, I want it to do nothing (i.e. allow the current BGM to keep playing).
I've almost been able to figure this out. I can get the BGM to fadeout upon Player Transfer but I can't figure out how to code the exception I stated above.
I assume a simple if/them statement plugged into the right place in the right function will do this but, alas, I apparently do not have enough brain-wrinkles for such things.
I can manually do this with Commands/Script Calls right before every Player Transfer Event but, if I can, I wanna include it in my plug-in.
Any help on this would be super appreciated!
I'm making the transition between scenes a bit smoother. Specifically, I slowed down the fade-in and fadeout for the screen and the BGM when a Transfer Player Command is ran.
I was able to write a super simple plug-in that accomplished most of this. However, I'm getting hung up on one little thing.
Upon Transfer Player, I want the BGM to fadeout if and only if the new Map has an Autoplay BGM assigned to it. If the new Map doesn't have an Autoplay BGM assigned to it, I want it to do nothing (i.e. allow the current BGM to keep playing).
I've almost been able to figure this out. I can get the BGM to fadeout upon Player Transfer but I can't figure out how to code the exception I stated above.
I assume a simple if/them statement plugged into the right place in the right function will do this but, alas, I apparently do not have enough brain-wrinkles for such things.
I can manually do this with Commands/Script Calls right before every Player Transfer Event but, if I can, I wanna include it in my plug-in.
Any help on this would be super appreciated!