hey, I'm using Quest Machine and top-down engine in my 2d game. I want to use the quest system but I don't know how to get it to save through scenes.
could u provide a general idea of how to do that?
keeping quest through scenes
Re: keeping quest through scenes
Hi,
1. Add a SaveSystem component to your Quest Machine GameObject. Note: There should only be one SaveSystem component in the scene. If you've already added a SaveSystem component to a GameObject, don't also add it to the Quest Machine GameObject.
2. Inspect the player's QuestJournal component in each scene and set the Save Settings > Save Key to the same value in all scenes -- but different from any other savers in your scenes such as PositionSavers and ActiveSavers.
3. Change scenes using any of these techniques: How To: Change Scenes With Save System. This article is in the Dialogue System forum section so it also includes a Dialogue System technique (LoadLevel() command) to change scenes. Ignore that technique but use any of the others.
1. Add a SaveSystem component to your Quest Machine GameObject. Note: There should only be one SaveSystem component in the scene. If you've already added a SaveSystem component to a GameObject, don't also add it to the Quest Machine GameObject.
2. Inspect the player's QuestJournal component in each scene and set the Save Settings > Save Key to the same value in all scenes -- but different from any other savers in your scenes such as PositionSavers and ActiveSavers.
3. Change scenes using any of these techniques: How To: Change Scenes With Save System. This article is in the Dialogue System forum section so it also includes a Dialogue System technique (LoadLevel() command) to change scenes. Ignore that technique but use any of the others.
Re: keeping quest through scenes
I got it thx a lot
Re: keeping quest through scenes
Glad to help!