Page 1 of 1

Quest Giver Trigger after success

Posted: Tue Apr 26, 2022 12:18 pm
by QuestHole
Hello,
After a quest is done how do I make it so the Quest Giver cannot be triggered again? I don't want the UI window popping up after a quest is complete and the player walks past the same area.
Thanks

Re: Quest Giver Trigger after success

Posted: Tue Apr 26, 2022 1:32 pm
by Tony Li
Hi,

Currently, if the quest giver has no quests and you call QuestGiver.StartDialogue() or StartDialogueWithPlayer(), it will show the Quest Giver's Dialogue Settings > No Quests content.

If you don't want to show any dialogue content at all, don't call QuestGiver.StartDialogue()/StartDialogueWithPlayer(). To check whether the quest giver has any quests, check QuestGiver.HasOfferableOrActiveQuest().