Page 1 of 1

Showing a Quest window instead of a Quest Dialogue

Posted: Wed Sep 29, 2021 3:19 pm
by mightyBond
Hello!

I would like to ask if its possible that instead of the usual Quest Dialogue Window shown when giving a quest, it will just display a Quest Window that shows the Quest Name, Description, Rewards and then the accept button? And if so, how?

Re: Showing a Quest window instead of a Quest Dialogue

Posted: Wed Sep 29, 2021 4:51 pm
by Tony Li
Hi,

That'll still be a quest dialogue window. What's different from the regular quest dialogue window? It sounds like the only difference is that it doesn't have Decline and Close buttons.

If you want a quest giver to show a differently-styled window (e.g., without Decline and Close buttons), you can create a new quest dialogue UI and assign it to the quest giver's UI Settings > Quest Dialogue UI field. If the quest giver has only one quest to offer, it will immediately show the quest's dialogue text (e.g., Name, Description, Rewards).

Re: Showing a Quest window instead of a Quest Dialogue

Posted: Thu Sep 30, 2021 4:44 am
by mightyBond
Thank you for the prompt reply!

I see, looks like I misunderstood it. This is because in your tutorial videos I saw the NPC as the quest giver. The project I'm working on does not requires this, instead the quest window pops up at certain points of game, meaning I need to find a way to trigger quest dialogue window manually without NPC's. May I ask how can this be done?

Re: Showing a Quest window instead of a Quest Dialogue

Posted: Thu Sep 30, 2021 8:00 am
by Tony Li
Hi,

Does any GameObject have a Quest Giver component? It doesn't have to be an NPC in the traditional sense. It can even be an empty GameObject to hold the quest that will be offered. If so, call that QuestGiver component's StartDialogueWithPlayer() method.

Re: Showing a Quest window instead of a Quest Dialogue

Posted: Thu Sep 30, 2021 2:22 pm
by mightyBond
After skimming through the documentation I was able to pull it off, thank you very much!

Re: Showing a Quest window instead of a Quest Dialogue

Posted: Thu Sep 30, 2021 2:43 pm
by Tony Li
Glad to help however much or little I did. Sounds you like got it all straightened out by yourself! :-)