Hello
I was trying to make a system that notifies the player when a quest is accepted/ongoing/successful/return to npc (outside of the quest log).
Like a notification system,
Is there some built-in solution for this?
If not, what could be a good approach?
Thanks in advance for the support.
Quest Notification System
Re: Quest Notification System
hi,
You can add a script with an OnQuestStateChange(questName) method to your Dialogue Manager GameObject. For example, something like:
You can add a script with an OnQuestStateChange(questName) method to your Dialogue Manager GameObject. For example, something like:
Code: Select all
void OnQuestStateChange(string questName)
{
var state = QuestLog.GetQuestState(questName);
if (state != QuestState.Unassigned)
{
DialogueManager.ShowAlert($"{questName} {state}");
}
}