View Single Post
Old 10-03-2012, 05:03 PM   #235
Canderis
Mercenary
 
Canderis's Avatar
 
Join Date: Jun 2008
Location: Unknown
Posts: 2,509
Current Game: Skyrim
Veteran Modder Helpful! 
How can i get an npc to move near the pc during dialog?

This is my code currently
Code:
 location lMe=GetLocation(GetFirstPC());
 ActionDoCommand(SetCommandable(TRUE,oNPC));
 AssignCommand (oNPC,ActionForceMoveToLocation(lMe,FALSE));
It works, but he ends up inside the pc, not near him. This is for k1.




Canderis is offline   you may: quote & reply,