I am still getting the teleportation issue. I got the dialog to not be skippable, but my npc won't move still.
I have 2 codes from 2 different dialog nodes.
Code:
void main()
{
object oDoor = GetObjectByTag("m55aa_elv01");
SetLocked(oDoor,FALSE);
AssignCommand(oDoor, ActionOpenDoor(oDoor));
object oNPC=GetObjectByTag("n_shol");
float x=101.39;
float y=148.00;
float z=36.32;
int bRun=FALSE;
vector vExit=Vector(x,y,z);
location lExit=Location(vExit,0.0f);
ActionDoCommand(SetCommandable(TRUE,oNPC));
DelayCommand(3.0, AssignCommand (oNPC,ActionForceMoveToLocation(lExit,bRun)));
}
Code:
void main()
{
object oNPC = GetObjectByTag("nshol");
DelayCommand(3.0, AssignCommand(oNPC, ActionForceMoveToObject(GetFirstPC(), 0, 1.0, 30.0)));
}