Modifying Quest Entry display style based on entry state
Modifying Quest Entry display style based on entry state
I would like to change the appearance of Quest Entries in the Quest Tracker HUD depending on the state of the entry. For example, changing the text color or adding a checkbox. Is there a built-in way to do this or do I need to do some customization? Thanks!
Re: Modifying Quest Entry display style based on entry state
Hi,
It's built in. Take a look at the Basic Standard Quest Tracker HUD for an example. It has a Quest Track Template with two children: Quest Description and Quest Entry Description, both of which serve as templates. When the tracker HUD updates its display, it instantiates copies of these templates and updates their content for the quest it's showing.
You can create additional children for entries in the success and failure states, and assign them to the Quest Track Template GameObject's Standard UI Quest Track Template component > Alternate Entry Descriptions section.
It's built in. Take a look at the Basic Standard Quest Tracker HUD for an example. It has a Quest Track Template with two children: Quest Description and Quest Entry Description, both of which serve as templates. When the tracker HUD updates its display, it instantiates copies of these templates and updates their content for the quest it's showing.
You can create additional children for entries in the success and failure states, and assign them to the Quest Track Template GameObject's Standard UI Quest Track Template component > Alternate Entry Descriptions section.
Re: Modifying Quest Entry display style based on entry state
That worked perfectly. Worth noting that I needed to add an Entry Container reference for the StandardUIQuestTracker to actually consider entry states, but that was quite easy. Thanks once again Tony!
Re: Modifying Quest Entry display style based on entry state
Thanks for mentioning the container. I intended to mention it and totally forgot. Glad you got it all figured out.