KillerMapper
Helix Follower
- 200
- Posts
- 10
- Years
- Paris
- Seen Oct 19, 2020
Hello there,
Currently, we can assign to each trainer type a ME who will be played when the trainer spots you.
The problem is that ME doesn't loop, so if the player waits a little, the map BGM will be played again before the battle.
Since I can now use FMod, I would like to use a BGM for the music loop feature (with tagged .ogg).
I tried to play the ME as a BGM in pbPlayTrainerIntroME (which is used by pbTrainerIntro). It works, but this will replace the map BGM after the battle. So I need to put back the current map's BGM after the battle. I have found where I could put back the BGM in pbTrainerBattle, but I just don't know how to retrieve the current map BGM.
For now I put back the map BGM in each trainer event. Not the better way, but it works perfectly. I would like to avoid doing this on all events though...
Thanks for any help.
Currently, we can assign to each trainer type a ME who will be played when the trainer spots you.
The problem is that ME doesn't loop, so if the player waits a little, the map BGM will be played again before the battle.
Since I can now use FMod, I would like to use a BGM for the music loop feature (with tagged .ogg).
I tried to play the ME as a BGM in pbPlayTrainerIntroME (which is used by pbTrainerIntro). It works, but this will replace the map BGM after the battle. So I need to put back the current map's BGM after the battle. I have found where I could put back the BGM in pbTrainerBattle, but I just don't know how to retrieve the current map BGM.
For now I put back the map BGM in each trainer event. Not the better way, but it works perfectly. I would like to avoid doing this on all events though...
Thanks for any help.