My question is, when the spell is cast, and the invisible NPC is created... how do i teleport to it? How do i reference the summon in my script so i can use CasterRef.MoveTo(SummonRef) ?
At the moment my teleport script looks like this:
	Spoiler 	
scriptName TeleportScriptEffect extends activeMagicEffectimport gameimport utility;VFXActivator property SummonFX Auto;Summon parameterseffectShader property fadeOutFX autoeffectShader property fadeInFX autovisualEffect property TrailFX auto;Internal variables.actor casteractor targetobjectReference casterRefobjectReference targetRefEvent OnEffectStart(Actor akTarget, Actor akCaster)	caster = akCaster	target = akTarget	targetRef = (target as ObjectReference)	casterRef = (caster as ObjectReference)	if (!caster.IsDead())		;Perform the swap.		fadeOutFX.play(casterRef)		caster.setGhost(TRUE)		Utility.Wait(0.5)				casterRef.MoveTo(targetRef)		casterRef.PlaceAtMe(SummonFX)		Utility.Wait(0.5)		fadeOutFX.stop(casterRef)		caster.setGhost(FALSE)		caster.evaluatePackage()	EndIf		; additional check - seen instances where NPC with this ability would not die!	if Caster.getActorValue("Health") < 0		caster.kill()	endifEndEvent