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.
I used the AddConversation function to add a conversation to another DialogueDatabase, and it seems that all links have a Priority of Normal because of the LinkUtility.SetOutgoingLinks function I use internally.
What does the conditionPriority of the DialogueEntry do?
Would it be better to add it directly to the conversations List in the DialogueDatabase?
What does conditionPriority in DialogueEntry do?
Re: What does conditionPriority in DialogueEntry do?
Hi,
DialogueEntry.conditionPriority does nothing in the Dialogue System. It's a vestige from Chat Mapper. The Dialogue System uses the same data structure as Chat Mapper and is cross-compatible with Chat Mapper, so we need to still keep the variable.
In the Dialogue System, link priorities are only observed in Link.priority.
DialogueEntry.conditionPriority does nothing in the Dialogue System. It's a vestige from Chat Mapper. The Dialogue System uses the same data structure as Chat Mapper and is cross-compatible with Chat Mapper, so we need to still keep the variable.
In the Dialogue System, link priorities are only observed in Link.priority.
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 not use the AddConversation function?
Is this function incorrect? Or is it the situation where the conditionPriority value is Normal that is wrong?
If not that, should I not use the AddConversation function?
Re: What does conditionPriority in DialogueEntry do?
That looks like a bug. I'll provide a patch here tomorrow.
Re: What does conditionPriority in DialogueEntry do?
Thanks for the answer!