Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

OnslaughtBP.ONSIncomingShellSound


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
//-----------------------------------------------------------
//
//-----------------------------------------------------------
class ONSIncomingShellSound extends Actor;

var() float SoundLength;
var() sound ShellSound;

function StartTimer(float TimeToImpact)
{
    SetTimer(TimeToImpact - SoundLength, false);
}

function Timer()
{
    PlaySound(ShellSound, SLOT_None, 2.0, false, 500.0);
	Destroy();
}

DefaultProperties
{
    DrawType=DT_None
    bNoDelete=false
    LifeSpan=8.0
    RemoteRole=ROLE_None
    SoundLength=3.0
    ShellSound=sound'ONSBPSounds.Artillery.ShellIncoming1'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Di 5.9.2006 22:31:52.000 - Creation time: Do 14.8.2014 09:58:46.608 - Created with UnCodeX