Seamhainn Posted February 2, 2008 Share Posted February 2, 2008 Hello! I have this script which makes a npc run to a certain point. Unfortunately if the pc initiates a conversation the npc stops and does not reach that said point. But the npc has to reach that point and only then should the conversation go on. How can I make that the npc runs to the point uninterrupted? void main () { object oNPC=GetObjectByTag("kas25_secura"); float x=121.00; float y=134.00; float z=10.0; int bRun=TRUE; vector vExit=Vector(x,y,z); location lExit=Location(vExit,0.0f); ActionDoCommand(SetCommandable(TRUE,oNPC)); AssignCommand (oNPC,ActionForceMoveToLocation(lExit,bRun)); ActionDoCommand(SetCommandable(FALSE,oNPC)); ExecuteScript("k_pkas_sec08", OBJECT_SELF, 1002); } Thanks for any help! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.