23 lines
465 B
Ucode
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
|
|
}
|