Selecting Quest Entries from Quest to display in tracker

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
laurelhach
Posts: 18
Joined: Fri Jan 01, 2021 2:59 pm

Selecting Quest Entries from Quest to display in tracker

Post by laurelhach »

Hi Tony,

I was wondering if there is a simple way right now (without altering any methods, etc.) to display specific entries for a quest.
Right now, I do this:
The player has to find [x] letters. Each letter is an entry (subtasks).
Each letter will update the Quest by adding a new entry in the quest log panel description.

Code: Select all

QuestLog.SetQuestEntryState("questName", "questEntryState", "active");
I'd like to have only one of the entry (the variable nbOfLetters ) shown in the tracker.
Right now, all entries are displayed in the tracker when I update the entries to be visible in the quest log panel description.
User avatar
Tony Li
Posts: 22135
Joined: Thu Jul 18, 2013 1:27 pm

Re: Selecting Quest Entries from Quest to display in tracker

Post by Tony Li »

Hi,

To hide all quest entries from the HUD, inspect your HUD prefab's Quest Track Template, and delete the Quest Entry Description child GameObject.

If you only want to do this for one specific quest, you'll need to do a little scripting. You don't have to directly modify the DS scripts. You can make a subclass. If you need to do this, let me know and I can describe the steps.
laurelhach
Posts: 18
Joined: Fri Jan 01, 2021 2:59 pm

Re: Selecting Quest Entries from Quest to display in tracker

Post by laurelhach »

Hi Tony,

What I did is actually set the entries as "done". The only thing I have to do is change the color so it does fit my color.
I still have in progress as "white". I don't really need to have a different color right now.

Setting them to "done" don't make them appear in the tracker and I can keep the other one as "in progress".
If that is not enough, I'll look for using more scripting.

Thanks for your help and support as usual.

You are a beast :)
User avatar
Tony Li
Posts: 22135
Joined: Thu Jul 18, 2013 1:27 pm

Re: Selecting Quest Entries from Quest to display in tracker

Post by Tony Li »

Glad to help!
Post Reply