Car drives by player -- how to increase SE volume on approach, decrease on exit?

Can't find this one, although I know I can't possibly be the first to try and do this.

I have cars driving all over the place, and cars make noise! So I'd love for there to be some sort of proximity function, except it's for SE volume. As a car approaches the player, the SE gets louder, then as it drives past, it gets softer.

I'm a firm believer that almost anything is possible with eventing and script calls if you're patient enough 🙂 But if anyone knows any plugins well suited to this, please do let me know.

Thanks all!!! :LZSgrin::LZSgrin::LZSgrin:

c
Maybe you can fiddle around with this:
It has that volume adjust to player proximity built in. (Might be tough tho since it'll replay your "car noise" over and over, so who knows...)
Maybe you can fiddle around with this:
It has that volume adjust to player proximity built in. (Might be tough tho since it'll replay your "car noise" over and over, so who knows...)

I'll give it a shot!

Original thread: https://forums.rpgmakerweb.com/threads/car-drives-by-player-how-to-increase-se-volume-on-approach-decrease-on-exit.153922/