Search found 13 matches

by nuununuun
Wed Jul 17, 2024 12:36 am
Forum: Dialogue System for Unity
Topic: What does conditionPriority in DialogueEntry do?
Replies: 6
Views: 357

Re: What does conditionPriority in DialogueEntry do?

All conversations have the conditionPriority value set to Normal, so when the SortoutgoingLinks function is called, all Links in the conversation node become Normal. Is this function incorrect? Or is it the situation where the conditionPriority value is Normal that is wrong? If not that, should I no...
by nuununuun
Tue Jul 16, 2024 9:54 pm
Forum: Dialogue System for Unity
Topic: What does conditionPriority in DialogueEntry do?
Replies: 6
Views: 357

What does conditionPriority in DialogueEntry do?

HI, I was creating an editor to split a DialogueDatabase and ran into an issue where the priority of connections between all dialogue nodes was reset to Normal. screenshot.png I used the AddConversation function to add a conversation to another DialogueDatabase, and it seems that all links have a Pr...
by nuununuun
Tue May 02, 2023 11:55 pm
Forum: Quest Machine
Topic: How to attach 'UserData' to a Quest(or Quest Node)?
Replies: 7
Views: 2726

Re: How to attach 'UserData' to a Quest(or Quest Node)?

Most likely a ScriptableObject... :roll:
by nuununuun
Tue May 02, 2023 10:33 pm
Forum: Quest Machine
Topic: How to attach 'UserData' to a Quest(or Quest Node)?
Replies: 7
Views: 2726

Re: How to attach 'UserData' to a Quest(or Quest Node)?

Is it correct to use like this? public class SampleQuestAction : QuestAction { [field: SerializeField] public string HelloWorld { get; private set; } // omitted ... var sampleQuestAction = quest.GetStateInfo(quest.GetState()).actionList.OfType<SampleQuestAction>().FirstOrDefault(); Debug.Log(sampleQ...
by nuununuun
Tue May 02, 2023 2:58 am
Forum: Quest Machine
Topic: How to attach 'UserData' to a Quest(or Quest Node)?
Replies: 7
Views: 2726

How to attach 'UserData' to a Quest(or Quest Node)?

Hi,

I want to keep and use userdata (ex. quest reward data) with the quest.
Is there any way I can do to achieve this?

If possible, I'd like to be able to attach this to a Quest asset.

:roll:
by nuununuun
Tue Mar 14, 2023 4:57 am
Forum: Quest Machine
Topic: After saving the quest data, I add a new node to the quest and call up the game, so the quest state is not loaded.
Replies: 2
Views: 1130

After saving the quest data, I add a new node to the quest and call up the game, so the quest state is not loaded.

hi, Quest State does not load because the SetState function does not execute with an error 'System.IO.EndOfStreamException' in the middle of the load. My guess is that the number of nodes at the time of saving was 8, but the number of nodes at the time of loading is 9, so the binary Reader seems to ...