daxter154 Posted August 6, 2018 Share Posted August 6, 2018 I have a custom NPC which I have hooked up to a bunch of dialog (working correctly). At some point, I complete a quest by talking to said NPC. I want this NPC to walk to a location far away (from near falkreath to just outside markarth). I make a the following script call during the final dialog topic: getowningquest().SetObjectiveCompleted(40) getowningquest().SetStage(50) ActorRef.PathToReference(TargetActor, 1.0)I know this PathToReference call is returning true (due to some debugging not visible in the snippet). But my NPC just sits there and doesnt move. The area is navmeshed, ActorRef = the actor I want to move, TargetActor is the NPC I want the ActorRef to walk to. Can somebody explain what I'm doing wrong here? Link to comment Share on other sites More sharing options...
TheWormpie Posted August 6, 2018 Share Posted August 6, 2018 (edited) I'm not sure PathToReference can be trusted, especially not with such great distances. Use a package conditioned to run when the quest is completed instead. Then run EvaluatePackage() in the dialogue script fragment. Edited August 6, 2018 by wormple12 Link to comment Share on other sites More sharing options...
Recommended Posts