Scriptname AenRRPMScript extends activemagiceffect ObjectReference Property DestinationProperty Auto AenRRBHScript Property CommonEffect Auto EVENT OnEffectStart(Actor Target, Actor Caster) CommonEffect.TeleportTo(Caster, DestinationProperty)endevent
It compiles fine and even casts but doesn't work. The trace tells me:
[04/20/2012 - 11:32:56PM] Info: AenRRPMScript.OnEffectStartstack:.Debug.TraceStack() - " " Line ? [None].AenRRPMScript.OnEffectStart() - "AenRRPMScript.psc" Line 12[04/20/2012 - 11:32:56PM] error: Cannot call TeleportTo() on a None object, aborting function callstack: [None].AenRRPMScript.OnEffectStart() - "AenRRPMScript.psc" Line 13[04/20/2012 - 11:32:56PM] warning: Assigning None to a non-object variable named "::temp6"
CommonEffect is declared as the effect I made for the working spell. So I'm not sure why the game is assigning the None value to it. Anyone know how to get around this?



