I'm trying to get it set up so I talk to an NPC and at the end of the dialog me he takes me (teleports me) to the quest area. Following other tutorials I've been able to make activators that are able to teleport the player around with this script: Scriptname tele01 extends ObjectReference
ObjectReference Property TeleportMarker auto
Event OnActivate(ObjectReference akActionRef)
Game.GetPlayer().MoveTo(TeleportMarker)
EndEvent Then I tried to adapt the code to add into the Papyrus fragment at the end of the dialog with the NPC: GetOwningQuest().SetObjectiveDisplayed(30)
GetOwningQuest().setstage(30)
ObjectReference Property TeleportMarker auto
Game.GetPlayer().MoveTo(TeleportMarker)
But when I try to compile that I get "no viable alternative at input" errors: Starting 1 compile threads for 1 files...
Compiling "TIF__02005BD4"...
c:\program files (x86)\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__02005BD4.psc(11,0): no viable alternative at input 'ObjectReference'
c:\program files (x86)\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__02005BD4.psc(11,25): no viable alternative at input 'TeleportMarker'
No output generated for TIF__02005BD4, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on TIF__02005BD4 Why is my script at the end of dialog failing when it works in an activator? The only difference I see is that it's not wrapped in an event like the activator script, but isn't the end-of-dialog papyrus fragment sort of an event itself? I mean, my script for advancing the stage of the quest works and it's not wrapped in a specifically scripted event. I'm sure I'm missing something fundamental, but I'm at a loss. Help please?