Page 1 of 1

Quest Enums

Posted: Tue Apr 19, 2022 3:36 pm
by creativestorm
Hi Tony,

I located a thread where you added the ability to add the questName enum dropdowns to other scripts in a project:

[QuestPopup(showReferenceDatabase = true)]
public string questName;

This works great, thank you!

I'm wondering however if there are similar ones for variables and quest entries that can be used? This will be a massive help with some of my custom scripts.

Thanks!

Re: Quest Enums

Posted: Tue Apr 19, 2022 3:53 pm
by Tony Li
Hi,

The available inspector attributes are here. Note that many of them ([ConversationPopup], [QuestPopup], etc.) are just custom drawers for string variables. They make it easier to select values and avoid typos, but if you change the original name in your dialogue database you'll still also need to update your string variables. In general, you can use the Dialogue Database Asset Renamer tool to do this for you. (Tools > Pixel Crushers > Dialogue System > Tools > Asset Renamer)

Re: Quest Enums

Posted: Tue Apr 19, 2022 4:25 pm
by creativestorm
This is perfect, page bookmarked.

Thanks again (as always).

Re: Quest Enums

Posted: Tue Apr 19, 2022 4:51 pm
by Tony Li
Happy to help!