RisingSun
Private Tester
You should add the sound fix to the list. i keep hating having to track it down.
http://forums.legionsoverdrive.com/threads/no-sound.1138/
http://forums.legionsoverdrive.com/threads/no-sound.1138/
// FlagAlert by RockeyRex
// Gives you an unique sound when you get a hold of the enemy flag.
package FlagAlert
{
function Audio::initialize( )
{
parent::initialize( );
new SFXProfile(GotFlag)
{
filename = "mods/autoexec/FlagAlert/FlagAlert.wav";
description = AudioGui;
preload = true;
};
}
function clientCmdAddVisibleItem(%this)
{
parent::clientCmdAddVisibleItem(%this);
if(detag(%this) $= "Flag")
{
sfxPlayOnce(GotFlag);
}
}
};
activatepackage(FlagAlert);
package FlagAlert
{
function Audio::initialize( )
{
parent::initialize( );
new SFXProfile(GotFlag)
{
filename = "mods/autoexec/FlagAlert/FlagAlert.wav";
description = AudioGui;
preload = true;
};
}
function clientCmdAddVisibleItem(%this)
{
parent::clientCmdAddVisibleItem(%this);
if(detag(%this) $= "Flag")
{
$FlagAlertSfx = sfxPlayOnce(GotFlag);
}
}
function clientCmdRemoveVisibleItem(%this)
{
parent::clientCmdRemoveVisibleItem(%this);
if(detag(%this) $= "Flag")
{
sfxStop($FlagAlertSfx);
}
}
};
activatepackage(FlagAlert);