30.07.2009, 20:56
The floating-point numbers used in Audio_Set3DPosition are not coordinates in the game world. They are offsets of the user's listening center. (By the way, this native requires five arguments—you used four!) What you are trying to do, however, can be accomplished by creating a few distance checks and using Audio_SetVolume on a timer (i.e., when the player gets closer to a point, the sound will become louder). This is not true 3D sound, but it is close enough.
Edit: Check the second post of this thread for a better example.
Edit: Check the second post of this thread for a better example.