I'm trying to make an npc teleport to me after I hit a triggerbox, so that the npc can appear and talk to another npc I see.\
Coming here after checking forums and various google searches.
this code gives me an error that mthe moveto command is not defined or does not exist... how would one properly do this?
Quest Property MyQuest Auto
Int RunOnce
Actor Property PlayerREF Auto
Alias Property MyNPC Auto
Event OnTriggerEnter(ObjectReference akActionRef)
If akActionRef == Game.GetPlayer()
If MyQuest.IsStageDone(10)
If RunOnce == 0
MyNPC.moveto(game.getplayer())
RunOnce = 1
EndIf
EndIf
EndIf
EndEvent