Quest Enums

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
creativestorm
Posts: 10
Joined: Mon Mar 14, 2022 10:55 pm

Quest Enums

Post 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!
Last edited by creativestorm on Tue Apr 19, 2022 4:45 pm, edited 1 time in total.
User avatar
Tony Li
Posts: 21977
Joined: Thu Jul 18, 2013 1:27 pm

Re: Quest Enums

Post 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)
creativestorm
Posts: 10
Joined: Mon Mar 14, 2022 10:55 pm

Re: Quest Enums

Post by creativestorm »

This is perfect, page bookmarked.

Thanks again (as always).
User avatar
Tony Li
Posts: 21977
Joined: Thu Jul 18, 2013 1:27 pm

Re: Quest Enums

Post by Tony Li »

Happy to help!
Post Reply