//=============================================================================
// SmallSpark.
//=============================================================================
class SmallSpark expands Effects;

#exec MESH IMPORT MESH=SmallSpark ANIVFILE=MODELS\Spark_a.3D DATAFILE=MODELS\Spark_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=SmallSpark X=0 Y=0 Z=0 PITCH=-64
#exec MESH SEQUENCE MESH=SmallSpark SEQ=All       STARTFRAME=0   NUMFRAMES=2
#exec MESH SEQUENCE MESH=SmallSpark SEQ=Explosion STARTFRAME=0   NUMFRAMES=2
#exec TEXTURE IMPORT NAME=JSmlSpark1 FILE=MODELS\Spark.PCX GROUP=Skins
#exec MESHMAP SCALE MESHMAP=SmallSpark X=0.06 Y=0.06 Z=0.12
#exec MESHMAP SETTEXTURE MESHMAP=SmallSpark NUM=1 TEXTURE=JSmlSpark1


function PostBeginPlay()
{
	PlayAnim  ( 'Explosion', 0.2 );
	PlaySound (EffectSound1);
	CallParent.PostBeginPlay();
}

function AnimEnd()
{	
  	Destroy();
}

