When my character jumps into a pool of water, I want to play "underwater ambience" (like this). And when my character exits water, I want to play "forest ambience" (like this). In addition, there will be level music accompanying the ambience (like so)
Does this mean I will need, at minimum, 3 playlist controllers? One playlist controller to handle the music. Two playlist controllers to play underwater ambience and forest ambience simultaneously. If the character is outside of water, set the volume of the underwater ambience to 0, and forest ambience to 1. And vice versa if the player is inside of water.
Is this the most efficient way to do it? Or is there another way to do this more optimally and requiring less resources?
I notice Playlist controllers have 2 audio sources a piece. Can playlist controllers be instructed to play two tracks simultaneously and quickly swap between them?
Post by DarkTonic Dev on Oct 31, 2022 15:10:59 GMT
No, Playlist Controllers can only play one track at a time (except when crossfading for a brief time). So you'd need more Playlist Controllers. However you could probably just use Sound Groups for this. Either way would be fine.