//=============================================================================
// SeaWeed.
//=============================================================================
class SeaWeed expands Decoration;

#exec MESH IMPORT MESH=SeaWeed ANIVFILE=MODELS\seaw_a.3D DATAFILE=MODELS\seaw_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=SeaWeed X=-70 Y=-400 Z=0 YAW=64
#exec MESH SEQUENCE MESH=SeaWeed SEQ=All  STARTFRAME=0  NUMFRAMES=4
#exec MESH SEQUENCE MESH=SeaWeed SEQ=Type1Waver  STARTFRAME=0   NUMFRAMES=2
#exec MESH SEQUENCE MESH=SeaWeed SEQ=Type2Waver  STARTFRAME=2   NUMFRAMES=2
#exec TEXTURE IMPORT NAME=JSeaWeed1 FILE=MODELS\seaweed.PCX GROUP=Skins
#exec MESHMAP SCALE MESHMAP=SeaWeed X=0.25 Y=0.25 Z=0.5
#exec MESHMAP SETTEXTURE MESHMAP=SeaWeed NUM=1 TEXTURE=JSeaWeed1

var() enum ESeaWeedType
{
	Waver1,
	Waver2,
} WeedType;


Auto State Waver
{
 
 Begin:
	if (WeedType == Waver1) LoopAnim('Type1Waver',0.01);
	else LoopAnim('Type2Waver',0.01);
}

