Jump to content

Syntax error with SayToDone.


becauseofreasons

Recommended Posts

ScriptName MerrittDialogueScript

begin GameMode
	if MerrittREF.GetPlayerTeammate
		if (GetObjectiveCompleted nVPrimmDeputyConv 20)
			MerrittREF.StartConversation Player vMerrittDialogueMerrittTopic018
		endif
	endif
end
Writing 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 by becauseofreasons
Link to comment
Share on other sites

Pretty depressing it doesn't work whenever a dialogue topic is executed

It 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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...