Saving Items

Announcements, support questions, and discussion for the Dialogue System.
Muff
Posts: 20
Joined: Sat Mar 04, 2023 11:49 am

Re: Saving Items

Post by Muff »

I unticked the Save on Quit now works properly, Thankyouu Tony!

I want to integrate an Emerald AI but i'm not familiar about it, Does the DS can count a kill when i have a quest kill 5 orcs?
User avatar
Tony Li
Posts: 22133
Joined: Thu Jul 18, 2013 1:27 pm

Re: Saving Items

Post by Tony Li »

Hi,

Yes. In Emerald AI, an AI has an OnDeath() UnityEvent that you can configure in the inspector. Add an Increment On Destroy component to the AI and set Increment On to Manually. Then configure the OnDeath() event to call IncrementOnDestroy.TryIncrement. You also need to configure the Increment On Destroy's variables, etc., similarly to: How To: Set Up Quests Without Conversations
Muff
Posts: 20
Joined: Sat Mar 04, 2023 11:49 am

Re: Saving Items

Post by Muff »

Hi tony, I have some issues with VSimpleDoor. Once I unlocked the door and reopened the game, the VSimpleDoor was closed, even though I added an Active Saver to its parent object and unticked the Auto Close. seems not working.
User avatar
Tony Li
Posts: 22133
Joined: Thu Jul 18, 2013 1:27 pm

Re: Saving Items

Post by Tony Li »

Hi,

I can't check vSimpleDoor this week. I don't expect that it deactivates GameObjects. If it uses an Animator, use an AnimatorSaver. Otherwise you may need to write a simple saver to save the door's state.
Muff
Posts: 20
Joined: Sat Mar 04, 2023 11:49 am

Re: Saving Items

Post by Muff »

Thanks tony, i will try that method

i have issues on quest tracker:
Npc gave me a quest and when i back to main menu the quest tracker still visible

Why is the quest tracker still visible even though I'm in the main menu?
User avatar
Tony Li
Posts: 22133
Joined: Thu Jul 18, 2013 1:27 pm

Re: Saving Items

Post by Tony Li »

Are you using the latest Menu Framework version?

Have you tried ticking the Save Helper component's Reset Game On Return To Title checkbox?
Muff
Posts: 20
Joined: Sat Mar 04, 2023 11:49 am

Re: Saving Items

Post by Muff »

Yup, i try that method but the quest tracker still visible

https://drive.google.com/file/d/1BW1RCs ... share_link
User avatar
Tony Li
Posts: 22133
Joined: Thu Jul 18, 2013 1:27 pm

Re: Saving Items

Post by Tony Li »

Are you using Quest Machine, too? If so, maybe what's left on the main menu is the Quest Machine HUD.

If not, can you send a reproduction project to tony (at) pixelcrushers.com?
Muff
Posts: 20
Joined: Sat Mar 04, 2023 11:49 am

Re: Saving Items

Post by Muff »

Hi tony, Im not using Quest machine, but i have a files on my project.

https://drive.google.com/file/d/1NsDlE_ ... sp=sharing
User avatar
Tony Li
Posts: 22133
Joined: Thu Jul 18, 2013 1:27 pm

Re: Saving Items

Post by Tony Li »

That's the Dialogue System quest tracker HUD. It shouldn't appear when you return the main menu. Can you send me a reproduction project? I can look at the project and probably explain what's going on.
Post Reply