Hello. Let me describe what I'm trying to do. You're on Map 1 and a song (BGM) starts. You transfer to Map 2 and the song continues uninterrupted. So far, no problem. Then that song ends, and a parallel process is checking every 60 frames to see if a BGM is playing. If not, then it starts a new (randomly chosen) BGM.
The problem is that BGM instantly loops, so that same song will just play over and over. I know how to check if a BGM is playing, and it works fine if a BGM hasn't already started, but once one starts, it just continually loops with no pause between the end and beginning.
Now, MEs (Music Effects) don't automatically loop, they actually stop when they are done, so theoretically I could just put my BGM files in the ME folder and play those as full songs, but I can't figure out how to check to see if an ME is currently playing.
By the way, the way I'm checking to see if a BGM is playing is like this:
(parallel process)
wait : 60 frames
set variable : variable 20 = AudioManager._currentBgm.name
if : variable 20 = 0
play random song
end
This works fine (if a BGM isn't already playing), but there doesn't seem to be a corresponding script call for MEs. For example, this does NOT work:
set variable : variable 20 = AudioManager._currentMe.name
Therefor I'm wondering if there's a way to make BGMs not auto-loop, as that seems like a solution, but of course any other solution is also more than welcome.
Thanks!