//#exec AUDIO IMPORT FILE="Sounds\Phoenixcall.wav" NAME="Phoenixcall"
//#exec NEW STATICMESH NAME=PhoenixOutline FILE=Models\PhoenixOutline.ase

Class ONSThunderbirdCraft extends ONSAttackCraft;
var ThunderbirdEffect ShownBirdy;

//function AltFire( optional float F )
//{
//	//VehicleFire( true );
//	//bWeaponIsAltFiring = true;
//}


function PostBeginPlay(){
	ShownBirdy=spawn(class'ThunderbirdEffect', self);
	Super.PostBeginPlay();
}

function Died(Controller Killer, class<DamageType> damageType, vector HitLocation)
{
	if(ShownBirdy!=none)
		ShownBirdy.Destroy();
	Super.Died(Killer, damageType, HitLocation);
}

function Destroyed()
{
	if(ShownBirdy!=none) //Kill of last resort;
		ShownBirdy.Destroy();
	Super.Destroyed();
}

defaultproperties
{
     DriverWeapons(0)=(WeaponClass=Class'GSSAL.ONSThunderbirdCraftGun')
     VehiclePositionString="in a Thunderbird."
     VehicleNameString="Thunderbird"
     HealthMax=200.000000
     Health=200
}
