//=============================================================================
// SmokeColumn.
//=============================================================================
class SmokeColumn expands AnimSpriteEffect;

#exec TEXTURE IMPORT NAME=SmokeCol1 FILE=MODELS\sl101.pcx GROUP=Effects
#exec TEXTURE IMPORT NAME=SmokeCol2 FILE=MODELS\sl102.pcx GROUP=Effects
#exec TEXTURE IMPORT NAME=SmokeCol3 FILE=MODELS\sl103.pcx GROUP=Effects
#exec TEXTURE IMPORT NAME=SmokeCol4 FILE=MODELS\sl104.pcx GROUP=Effects
#exec TEXTURE IMPORT NAME=SmokeCol5 FILE=MODELS\sl105.pcx GROUP=Effects
#exec TEXTURE IMPORT NAME=SmokeCol6 FILE=MODELS\sl106.pcx GROUP=Effects
#exec TEXTURE IMPORT NAME=SmokeCol7 FILE=MODELS\sl107.pcx GROUP=Effects
#exec TEXTURE IMPORT NAME=SmokeCol8 FILE=MODELS\sl108.pcx GROUP=Effects
#exec TEXTURE IMPORT NAME=SmokeCol9 FILE=MODELS\sl109.pcx GROUP=Effects
#exec TEXTURE IMPORT NAME=SmokeCol10 FILE=MODELS\sl110.pcx GROUP=Effects
#exec TEXTURE IMPORT NAME=SmokeCol11 FILE=MODELS\sl111.pcx GROUP=Effects
#exec TEXTURE IMPORT NAME=SmokeCol12 FILE=MODELS\sl112.pcx GROUP=Effects
#exec TEXTURE IMPORT NAME=SmokeCol13 FILE=MODELS\sl113.pcx GROUP=Effects
#exec TEXTURE IMPORT NAME=SmokeCol14 FILE=MODELS\sl114.pcx GROUP=Effects
#exec TEXTURE IMPORT NAME=SmokeCol15 FILE=MODELS\sl115.pcx GROUP=Effects
#exec TEXTURE IMPORT NAME=SmokeCol16 FILE=MODELS\sl116.pcx GROUP=Effects

function PreBeginPlay()
{
	CallParent.PreBeginPlay();
	i = 1;
	AnimTime = 0.0;
}

simulated function Tick(float DeltaTime)
{
	AnimTime+=DeltaTime;
	if (AnimTime>Pause) {
		Texture = SpriteAnim[i];
		i++;
		if (i==16) Destroy();
		AnimTime=0.0;
	}
}

