initialDialogueEntryID

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
forrestuv
Posts: 64
Joined: Tue Nov 06, 2018 11:28 am

initialDialogueEntryID

Post by forrestuv »

How can I start the conversation from a specified node?
It looks like initialDialogueEntryID isn't working as intended
User avatar
Tony Li
Posts: 22143
Joined: Thu Jul 18, 2013 1:27 pm

Re: initialDialogueEntryID

Post 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.
Post Reply