I am new to FMOD and implementing my first game in it currently. I’ve done the Essentials tier and watched some Youtube videos, but I still don’t understand Magnet regions fully.
I have a 5 part piece of music that I want to switch between the 5 loops of based on game info. I am using Magnet regions because the ‘relative’ feature allows the relative location in the loop to stay consistent throughout the changes. However, my question is:
Is there a way to control the loop transition and the transition to another loop separately like you can with Loop regions?
One of the loops is dissonant with the others if I fade between the loops, so I don’t have any fades setup. But it would be nice to add a fade when the magnet region loops on itself, but not when it transitions to the next loop.
Of course! A given logic marker can only have one set of transition behavior, so if you want the transition behavior to apply in some cases and not others, you need a separate logic marker for each behavior. For your specific case:
Add one loop region to your event for each magnet region that it contains.
Drag the starts and ends of the loop regions so that they start and end at the same times as the magnet regions.
Drag the loop regions so that they’re higher up on your screen than the magnet regions.
Add transition timelines with fade curves to the loop regions, but not to the magnet regions.
This works because when there are two or more logic markers telling the playback position to do different things, the highest of those logic markers is the one that applies. So, whenever the timeline playback position reaches the end of a magnet region and the end of a loop region at the same time, it obeys the region that’s higher; whereas whenever the timeline playback position is in the middle of a magnet region and loop region, the loop region isn’t telling it to do anything, and so it obeys the magnet region.