datablock AudioDescription(Yourdesc3D: AudioClose3d)
{
volume =0;
isLooping= false;
is3D = true;
ReferenceDistance= 0.0;
MaxDistance= 0.0;
};
Just copy paste this.
For future reference, "Yourdesc3D" will be the name of your audiodescription
Volume is self explanitory
IsLooping Determines whether the audio repeats or loops itself
is3D determines if its a 3 Dimensional sound, if your audio is intended to be a 2 Dimensional sound, meaning there is no fading out over a distance, then put false, and ignore "Reference Distance"
Reference Distance will determine at what distance the audio will start fading out.
Max Distance determines the max range of the sound, or how big the sound radius is.
In order to implement this into an audio Datablock, simply do this
datablock AudioProfile(YourSound)
{
filename = "YourSound";
description = YourDesc3d;
preload = false;
};
Where it says "Description" Simply replace "AudioDefault, Close, Closest" what ever it is, With the name of description you made above.
Hope this helps