rott/kf_sources/Engine/Classes/CustomSoundNotify.uc
2026-07-14 20:27:09 +07:00

33 lines
735 B
Ucode

//===================================================================
// CustomSoundNotify
// Copyright (C) 2005 Tripwire Interactive LLC
// John "Ramm-Jaeger" Gibson
//
// Custom sound notify class. Had to add this because the
// stock UT ones don't play correctly when your standing on BSP
//===================================================================
class CustomSoundNotify extends AnimNotify
native
abstract;
var() sound Sound;
var() float Volume;
var() int Radius;
var() bool bAttenuate;
event Notify( Actor Owner );
cpptext
{
// AnimNotify interface.
virtual void Notify( UMeshInstance *Instance, AActor *Owner );
}
defaultproperties
{
Radius=0
Volume=1.0
bAttenuate=false
}