Only 1 listener?

Blitz3D Forums/Blitz3D Programming/Only 1 listener?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

The thing is: if a sound is close to any camera, I want it to play at normal volume, if it´s distant from both, should play lower, and if it´s far away from both, shouldnt play at all...

I thought that creating two sound listeners, that blitz would do this...

Manually setting the volume isnt a very good solution either, would be if there was only sounds that played once, but since players can have a "shield" which emits a constant sound... having to compute distance from every "sound" played every frame, and changing it´s volume according to distance isnt a very good option :P