Page 1 of 1
Quest tracker show completed quest once
Posted: Fri Sep 02, 2022 12:28 pm
by kimosabe
Hi,
Is there a way to make the quest tracker only show the completed quest once, and ignore it for other quest tracker updates.
I currently have the 'show completed quests' enabled.
Re: Quest tracker show completed quest once
Posted: Fri Sep 02, 2022 2:10 pm
by Tony Li
Hi,
There's no such built-in feature, but you could make a subclass of
StandardUIQuestTracker.
Override the AddQuestTrack() method. For example, something like:
Code: Select all
public class MyQuestTracker : StandardUIQuestTacker
{
protected override void AddQuestTrack(string quest)
{
base.AddQuestTrack(quest);
// If the quest is done, turn off tracking so it doesn't get added any more after this refresh:
if (QuestLog.IsQuestDone(quest))
{
QuestLog.SetQuestTracking(quest, false);
}
}
}
Make sure to tick the Show Completed Quests checkbox.
Re: Quest tracker show completed quest once
Posted: Sat Sep 03, 2022 8:26 am
by kimosabe
Thank you very much!
Re: Quest tracker show completed quest once
Posted: Sat Sep 03, 2022 8:32 am
by Tony Li
Glad to help!