Page 1 of 1

initialDialogueEntryID

Posted: Mon Oct 17, 2022 5:03 am
by forrestuv
How can I start the conversation from a specified node?
It looks like initialDialogueEntryID isn't working as intended

Re: initialDialogueEntryID

Posted: Mon Oct 17, 2022 8:00 am
by Tony Li
Hi,

I'm not aware of any issues with starting a conversation at a specific entry ID. Make sure your entry ID is correct. Assuming a conversation "My Conversation" has an entry with ID 7, this should work fine:

Code: Select all

DialogueManager.StartConversation("My Conversation", playerTransform, npcTransform, 7);
You can also specify an initial entry ID in a Dialogue System Trigger component's Actions > Start Conversation action.

If it's not working in your project, check for warnings or errors in the Console window. It may help to temporarily set the Dialogue Manager's Other Settings > Debug Level to Info to get a deep trace of what's going on. Maybe the Conditions on the initial entry are currently false.