Scriptname aaaTKCPushSkyScript extends activemagiceffect  

Activator Property FXEmptyActivator Auto
MagicEffect Property MarkPushResist Auto
Spell Property PushResistSpell Auto
ObjectReference StartBox

Event OnEffectStart (Actor akTarget, Actor akCaster)

	if !akTarget.HasMagicEffect(MarkPushResist)

		StartBox = akTarget.placeAtMe(FXEmptyActivator)
		StartBox.PushActorAway(akTarget, 15)
		StartBox.Delete()
		
		PushResistSpell.Cast(akTarget)

	endif

EndEvent