Page 2 of 2

Re: Invector + Quest Machine + Dialogue System Save System

Posted: Sun Jan 23, 2022 9:57 pm
by KingCeryn
Ah, sorry about this- i do have one last issue. It seems that the quest givers in my scene are all having their quests removed, and assigned with a different quest on reload.

I'll attach a video below, but basically I have two template quests in the scene: "ImperialShotgunQuest" and "HealthPotionQuest," and after reloading, the HealthPotion Quest Giver has it's Quest set to ImperialShotgunQuest.
I'll add a 3rd quest to see if it still happens.


EDIT: Looks like it is in fact happening for ALL Quest Giver's in the scene.

EDIT: Ah, fixed! It seems each Quest Giver needs a unique Save Key name!


Re: Invector + Quest Machine + Dialogue System Save System

Posted: Mon Jan 24, 2022 8:44 am
by Tony Li
KingCeryn wrote: Sun Jan 23, 2022 9:57 pmEDIT: Ah, fixed! It seems each Quest Giver needs a unique Save Key name!
Yup, that's it. A related issue to watch out for is when you have multiple saver components on a GameObject. If you haven't assigned a Save Key to a saver, it will use the GameObject name. When you have multiple savers, remember to set the Save Keys so they don't use the same default key (GameObject name) and overwrite each other's data.