Quest Giver Trigger after success

Announcements, support questions, and discussion for Quest Machine.
Post Reply
QuestHole
Posts: 29
Joined: Wed Apr 20, 2022 4:08 pm

Quest Giver Trigger after success

Post 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
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Quest Giver Trigger after success

Post 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().
Post Reply