Is there a way to stop all the events from a given bus while specifying one event from the same bus that should not be affected by the stop function ?
In my game most of the music events are meant to stop when the player dies. However there is this gameplay section where I need the music to keep playing even if the player is dead. I guess I could merge the release of the music event with a new event being triggered on another bus. But I thought that it would be neat to be able to keep all my musical events on one single “music” bus.
Is the event that should be persistent always the same one? If so, why not putting it in a sub-bus, while other music events would be on another sub-bus (the one that will stop its events), both busses being children of the same parent music bus?
I should have thought about it, thank you !