package MusicBrick
{
function fxDTSBrick::setSound(%this, %sound)
{
Parent::setSound(%this, %sound);
if(isObject(%this.AudioEmitter) && %this.AudioEmitter.getClassName() $= "AudioEmitter")
{
%this.AudioEmitter.maxDistance = 200;
}
}
};
activatePackage(MusicBrick);
That works, but I don't think I changed the right variable (meaning, it changes the maxDistance to 200, but I don't think that affects the range in which it can be heard), so just play around with what I've done (if it's the scale, then change that).