About scatterer sound

I have a scatterer sound, which has a default range of 1 to 20. I use insect calls in ambient sounds. But when I move the listener’s coordinates, the scatterer’s voice is also affected. Assuming I go to the far left, his voice will only come from the right.How to do it the simplest, so that the sound of the scatterer is not affected by the coordinates of the listener.Please help me, thank you very much.

There are two ways to do this, depending on whether you want the sounds spawned by the scatterer to be randomly panned and attenuated.

If you do want them to be panned and attenuated, attach the event instance containing the scatterer instrument to the listener, such that they both move in sync.

If you don’t want the sounds spawned by the scatterer to be randomly panned and attenuated, set the scatterer instrument’s min and max distance to 0.

First of all, thank you very much for your answer.
Elaborately, how can I associate event instances with Listeners?
I am currently using script JavaScript to create this event.
Or can we only associate them in the API code? I found the listener mask.

Your game’s code (or your game engine of choice) must already be setting the location of the listener and the event instance somehow. You need to use that method to set them both to the same location, and never move one without moving the other. Without knowing the details of your game’s code or chosen game engine, I’m afraid I cannot be more specific.