Thread: Dialog error
View Single Post
Old 02-08-2009, 01:54 PM   #11
Star Admiral
N7 Commando
 
Star Admiral's Avatar
 
Join Date: Oct 2008
Location: Omega 4 Relay
Posts: 656
Current Game: Mass Effect 2
Folder extraordinaire Helpful! 
Try using ClearAllActions().

Code:
void main() {
  object oNPC=GetObjectByTag("doorguard");
  location lMe=GetLocation(GetFirstPC());
    ActionDoCommand(SetCommandable(TRUE,oNPC));
ClearAllActions();
  AssignCommand (oNPC,ActionForceMoveToLocation(lMe,FALSE));
  AssignCommand (oNPC, ActionStartConversation(GetFirstPC()));
}
Star Admiral is offline   you may: quote & reply,