Unity Quest HUD Update

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
GreenConure
Posts: 26
Joined: Sun Oct 24, 2021 10:32 am

Unity Quest HUD Update

Post by GreenConure »

Hello!

I'm having some difficulty with the quest HUD text using [var=text].
I call UpdateTracker() after the variable number is updated and the Watch tab shows the correct value, but in the Quest Description entry, it stays as the starting number. [var=text] tag works just fine in the subtitle text, it's just the quest HUD that runs into this. Can I ask for some direction on what might be causing this?

Thank you!
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unity Quest HUD Update

Post by Tony Li »

Which field is it? The quest's "Description" field? An "Entry #" field?

Is there maybe a typo in the [var=variable] tag?
GreenConure
Posts: 26
Joined: Sun Oct 24, 2021 10:32 am

Re: Unity Quest HUD Update

Post by GreenConure »

Hi! I tried both the description field and the entry # field. Checked as well and there doesn't seem to be any typo. The variable I'm using is a number by the way. It's currently staying with the number 0 and doesn't increase whenever I add on to it.
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unity Quest HUD Update

Post by Tony Li »

If you play DemoScene2 and pick up the Enemy Attack quest, does the tracker correctly show the kill count?

In your own database, is it possible that there are two quests with the same name?

Can you send a reproduction project to tony (at) pixelcrushers.com?
GreenConure
Posts: 26
Joined: Sun Oct 24, 2021 10:32 am

Re: Unity Quest HUD Update

Post by GreenConure »

Hello!

Tried Demo Scene 2, and the Quest log window works just fine, the quest HUD doesn't show on start though. The vertical layout + Quest Track Template is disabled on start. Sure, I'll share a repo with you in a bit. Really appreciate it, thank you!
Attachments
QuestHUD_Issue.PNG
QuestHUD_Issue.PNG (382.9 KiB) Viewed 728 times
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unity Quest HUD Update

Post by Tony Li »

Hi,

Thanks for the sending the repro project. I replied to your email.
Post Reply