I've got a question regarding the QuestLog.GetAllQuests(),
context: I've got a day/night cycle in my game, and at the beginning of every new day, I'd like my time manager to cycle through all quests in the dialogue system, check if its in the group "repeatable", and then if those quests are not currently active, set them to unassigned, so the NPC can ask for them again essentially,
but looking at the definition of the function, this function returns only active quests? so if they're unassigned or completed
these won't show up on the Get all quests method? is there another way I could get all quests?
Code: Select all
private void resetRepeatableMissions() {
List<string> alllQuests = new List<string>();
alllQuests.AddRange( QuestLog.GetAllQuests());
for (int i = 0; i < alllQuests.Count; i++)
{
print(alllQuests[i]);
}
}
Thanks so much again for your help