Hey, I'm making a pre-thieves guild quest. At the end of it, the player gets directions to go talk to Brynjolf. I set Brynjolf as a reference allias with an objective to talk to him. I set up a script that when Brynjolf is activated, the quest objective is complete. The idea is that as soon as you are in dialogue with Brynjolf, the quest is complete. On the reference alias screen, I use the script:
Scriptname TG00StartBrynjolf extends ReferenceAlias
Event OnActivate(ObjectReference akActivator)
if (akActivator == game.GetPlayer() && GetOwningQuest().GetStage() < 20 && GetOwningQuest().GetStage() >= 10)
GetOwningQuest().SetStage(20)
endif
EndEvent
The problem is that when starting the TG quests, you don't initiate dialogue with Brynjolf. He initiates it with you. So in order to complete the quest, you have to talk to Brynjolf a 2nd time. Now I suppose this is OK as you will be interacting with Brynjolf alot in the TG questlines.
However, is there a script that can be set up so that the quest can be advanced when an actor(in this case, a reference alias) starts dialogue with the player?