Re: Start Conversation by ID
Posted: Thu Mar 04, 2021 1:53 am
Hey, I had the same question, and I have a related question.
In the inspector where i choose a conversation, I have this:
This lets me pick from the list of dialogues, but how would I change this so it saves the dialog by id instead in my component, and still allows me to use the dialogue picker?
I'd like this, cause i sometimes rename conversations, and then it breaks.
So also when I'd like to start a conversation by ID, do I need to convert it to a title using:
Or is there some command to start the dialogue by ID right away?
Thanks
In the inspector where i choose a conversation, I have this:
Code: Select all
[ConversationPopup(true)]
[SerializeField] private string conversation; // Shown WITH database selection field.
I'd like this, cause i sometimes rename conversations, and then it breaks.
So also when I'd like to start a conversation by ID, do I need to convert it to a title using:
Code: Select all
var title = DialogueManager.MasterDatabase.GetConversation(id).Title;
Thanks