Page 1 of 1

How can I get the title and description of the quest?

Posted: Sat Nov 13, 2021 7:37 pm
by misottyo
How can I get the title and description of the quest?
I want to get the name and description of the quest with the name or ID of the quest registered in the database.

If possible, I would like to be able to acquire the acquired name and description in a localized state.
I want to be able to acquire in English if English is selected, and in that language if another language is selected.

Re: How can I get the title and description of the quest?

Posted: Sat Nov 13, 2021 8:06 pm
by Tony Li
Hi,

Use the QuestLog class. It returns localized text. Example:

Code: Select all

string questTitle = QuestLog.GetQuestTitle("MyQuest"); // Get localized quest title.
string questDescription = QuestLog.GetQuestDescription("MyQuest"); // Get localized description for current state.