Scriptname aaaTKCscBlastScript extends activemagiceffect  

Activator Property FXEmptyActivator Auto
Spell Property Pushaway Auto
Explosion Property aaaTKCscBlastExplosion Auto
ObjectReference StartBox
ObjectReference EndBox

Event OnEffectStart (Actor akTarget, Actor akCaster)

	float CasterAngle	= akCaster.GetAngleZ()
	float StartLocX		= 50*math.sin(CasterAngle)
	float StartLocY		= 50*math.cos(CasterAngle)

	StartBox = akCaster.placeAtMe(FXEmptyActivator)
	StartBox.moveto(akCaster,StartLocX, StartLocY, 85)
	StartBox.placeAtMe(aaaTKCscBlastExplosion)

	PushAway.Cast(akCaster)
	StartBox.Delete()

EndEvent