[Solved] Invector + Quest Machine + Dialogue System Save System

Announcements, support questions, and discussion for Quest Machine.
KingCeryn
Posts: 70
Joined: Sun Aug 23, 2020 5:12 pm

Re: Invector + Quest Machine + Dialogue System Save System

Post 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!

User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Invector + Quest Machine + Dialogue System Save System

Post 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.
Post Reply