Page 3 of 4
Re: Saving Items
Posted: Mon Mar 20, 2023 4:26 pm
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?
Re: Saving Items
Posted: Tue Mar 21, 2023 1:22 am
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
Re: Saving Items
Posted: Tue Mar 21, 2023 5:04 pm
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.
Re: Saving Items
Posted: Tue Mar 21, 2023 5:21 pm
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.
Re: Saving Items
Posted: Tue Mar 21, 2023 5:53 pm
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?
Re: Saving Items
Posted: Tue Mar 21, 2023 6:44 pm
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?
Re: Saving Items
Posted: Wed Mar 22, 2023 2:53 am
by Muff
Yup, i try that method but the quest tracker still visible
https://drive.google.com/file/d/1BW1RCs ... share_link
Re: Saving Items
Posted: Wed Mar 22, 2023 10:10 am
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?
Re: Saving Items
Posted: Thu Mar 23, 2023 11:40 am
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
Re: Saving Items
Posted: Thu Mar 23, 2023 5:53 pm
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.