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

23 lines
465 B
Ucode

class KFMusicTrigger extends MusicTrigger;
var() localized string CombatSong; // To play when the action is hot.
struct SongTypeE
{
var() localized string CombatSong,CalmSong;
};
var() array<SongTypeE> WaveBasedSongs;
function PostBeginPlay()
{
if( KFGameType(Level.Game)!=None )
KFGameType(Level.Game).MapSongHandler = Self;
}
function Trigger( Actor Other, Pawn EventInstigator );
defaultproperties
{
FadeInTime=3
FadeOutTime=3
}