NicePack/sources/NiceSoundCls.uc

13 lines
264 B
Ucode

class NiceSoundCls extends Effects;
var Sound effectSound;
var float effectVolume;
simulated function PostBeginPlay(){
if(effectSound != none)
PlaySound(effectSound,, effectVolume);
}
defaultproperties
{
DrawType=DT_None
LifeSpan=0.100000
}