//Vehicle light coronas sprites
Class VehicleLightsCor extends Effects;

var bool bReady;
var vector POffSet;

function PostBeginPlay()
{
	SetTimer(0.2,True);
}

function Timer()
{

	If (Owner == None)
		Destroy();
}

function Tick(float Delta)
{
	if (Vehicle(Owner)!=None)
	{
		if (Vehicle(Owner).bSlopedPhys && Vehicle(Owner).GVT!=None)
			PrePivot = Vehicle(Owner).GVT.PrePivot + (POffSet >> Vehicle(Owner).Rotation);
		else
			PrePivot = (POffSet >> Vehicle(Owner).Rotation);
	}
}

defaultproperties
{
	RemoteRole=ROLE_SimulatedProxy
	DrawType=DT_Sprite
	Physics=PHYS_Trailer
	bTrailerSameRotation=True
	bTrailerPrePivot=True
	bNetTemporary=False
	bUnlit=True
	Style=STY_Translucent
	ScaleGlow=1.500000
}
