//=============================================================================
// SeekingRocket.
//=============================================================================
class SeekingRocket expands rocket;

function Timer()
{
	local vector SeekingDir;

	If (Seeking != None  && Seeking != Instigator) 
	{
		SeekingDir = Normal(Seeking.Location - Location);
		if ( (SeekingDir Dot InitialDir) > 0 )
		{
			MagnitudeVel = Size(Velocity);
			Velocity =  MagnitudeVel * Normal(SeekingDir * 0.47 * MagnitudeVel + Velocity);		
			SetRotation(Rotation(Velocity));
		}
	}
}

auto state Flying
{
	function BeginState()
	{
		SetTimer(0.15,True);
		CallParent.BeginState();
	}
}	

