becauseofreasons Posted March 9, 2014 Share Posted March 9, 2014 (edited) ScriptName MerrittDialogueScript begin GameMode if MerrittREF.GetPlayerTeammate if (GetObjectiveCompleted nVPrimmDeputyConv 20) MerrittREF.StartConversation Player vMerrittDialogueMerrittTopic018 endif endif endWriting a new companion. I'm intending for it to check for some quest objectives once the player talks to Johnson Nash about having cleared out the Bison Steve. Not running, the issue appears to be with the "Begin SayToDone" block. I'm getting back into modding after a long absence, so if anyone has some advice, it'd be greatly appreciated. EDIT: Rewrote a chunk of it and it's working at the moment, but I'd rather use a SayToDone instead of a GameMode for performance reasons. Any ideas as to what traditionally causes a syntax error with the SayToDone block would be greatly appreciated. I'd like to use this instead, but it's not working. ScriptName MerrittDialogueScript begin SayToDone JNashHowLaw if MerrittREF.GetPlayerTeammate if GetObjectiveCompleted nVPrimmDeputyConv 20 MerrittREF.StartConversation Player vMerrittDialogueMerrittTopic018 endif endif end Edited March 9, 2014 by becauseofreasons Link to comment Share on other sites More sharing options...
jazzisparis Posted March 9, 2014 Share Posted March 9, 2014 SayToDone is triggered only by the Say/SayTo commands. It will not trigger when selecting the topic while in dialogue mode. Link to comment Share on other sites More sharing options...
Mishaxhi Posted March 9, 2014 Share Posted March 9, 2014 ^^^ They've also gotta be called in the same script as the say/sayto, and only on the object script of the actor themself. Link to comment Share on other sites More sharing options...
becauseofreasons Posted March 9, 2014 Author Share Posted March 9, 2014 Thanks! Pretty depressing it doesn't work whenever a dialogue topic is executed, but at least I now know what I was doing wrong! Cheers. Link to comment Share on other sites More sharing options...
jazzisparis Posted March 9, 2014 Share Posted March 9, 2014 Pretty depressing it doesn't work whenever a dialogue topic is executedIt can work if you tick the Goodbye flag in JNashHowLaw (meaning it will terminate dialogue) and use the END result script to start the conversation with Merritt. Link to comment Share on other sites More sharing options...
Recommended Posts