Hi there,
Is there a way to use subentries of a quest as the quest description, so for example "Go to the waterfall" would be entry 1 that would appear on the tracking UI, then when arrived it would change to entry 2 "Fill the bucket" and finally entry 3 "Hand in the quest" .
At the moment if I do this all subentries are displayed on the tracking UI.
Thanks,
BB
Using sub-entries as quest descriptions
-
- Posts: 91
- Joined: Tue Jul 14, 2015 8:22 am
Re: Using sub-entries as quest descriptions
Hi,
What you describe is exactly the way quest entries are designed to work. The quest tracker HUD should only show active and completed entries. At design time, set entry 1 to active, and set the other entries to unassigned. When the player arrives at the waterfall, set entry 1 to success and entry 2 to active.
What you describe is exactly the way quest entries are designed to work. The quest tracker HUD should only show active and completed entries. At design time, set entry 1 to active, and set the other entries to unassigned. When the player arrives at the waterfall, set entry 1 to success and entry 2 to active.
-
- Posts: 91
- Joined: Tue Jul 14, 2015 8:22 am
Re: Using sub-entries as quest descriptions
Interesting, I'm using the NGUIQuestTracker script which did not exhibit this behaviour.
Maybe I was doing something wrong, but I had to add this state check in GetQuestEntryDescription to make it function as expected:
if (QuestLog.GetQuestEntryState(quest,i)==QuestState.Active)
{
sb.Append(FormattedText.Parse(QuestLog.GetQuestEntry(quest, i), DialogueManager.MasterDatabase.emphasisSettings).text);
if (i < entryCount) sb.Append("\n");
}
Maybe I was doing something wrong, but I had to add this state check in GetQuestEntryDescription to make it function as expected:
if (QuestLog.GetQuestEntryState(quest,i)==QuestState.Active)
{
sb.Append(FormattedText.Parse(QuestLog.GetQuestEntry(quest, i), DialogueManager.MasterDatabase.emphasisSettings).text);
if (i < entryCount) sb.Append("\n");
}
Re: Using sub-entries as quest descriptions
You are correct. I just fixed that. The update will be in the next version, and it will function like your code above. I also added a "showCompletedEntries" checkbox that defaults to unticked. If ticked, it will also show completed entries.
Re: Using sub-entries as quest descriptions
When will this be updated? Currently my quest entries do not track the queststate in the questtrackerUI just the first entry.
edit: Nevermind, using the Standard UI Quest Tracker you can just select "Show completed entries"
My apologies
edit: Nevermind, using the Standard UI Quest Tracker you can just select "Show completed entries"
My apologies
Last edited by Kat on Mon Jan 28, 2019 9:47 am, edited 1 time in total.
Re: Using sub-entries as quest descriptions
Hi Kat,
If you're using NGUI, you can download the updated NGUI Support package from the Dialogue System Extras page.
If you're not using NGUI -- for example, if you're using the default Standard UI -- then make sure your quest entries' States are set to "active".
The next update, which includes the updated NGUI Support package, is set for release this week.
If you're using NGUI, you can download the updated NGUI Support package from the Dialogue System Extras page.
If you're not using NGUI -- for example, if you're using the default Standard UI -- then make sure your quest entries' States are set to "active".
The next update, which includes the updated NGUI Support package, is set for release this week.
Re: Using sub-entries as quest descriptions
I did this but it leaves the active entries up after quest entry is set to "success". Do i need to specify to deactive active entries?
Re: Using sub-entries as quest descriptions
If you set a quest's main state to success, the quest tracker HUD (NGUI or Standard UI) should no longer show the quest, including entries, unless you've ticked Show Completed Quests.
If the quest's main state is active, set entries that you don't want to show to success. However, if you've ticked Show Completed Entry Text, those entries will continue to show.
If the quest's main state is active, set entries that you don't want to show to success. However, if you've ticked Show Completed Entry Text, those entries will continue to show.