How to set up sidechains for a multiplayer game properly? Priority system

The idea is that there are players, and each player hears the sounds around them. But how can you make it so that a player, for example, is sitting in a car and hears the engine sound, and there are other players nearby in cars with their engine sounds as well? How can you make Player1’s sounds have priority and mute Player2’s sounds?
I’ve noticed this issue when players gather in one spot with cars, and the sounds start overlapping.

I would appreciate any advice, thank you!


Can you clarify a few things for me? Specifically:

  • Are you creating a networked multiplayer game, or a splitscreen multiplayer game?
  • Are you using a single listener on player 1, or a listener on each player?