Page 1 of 1

Get Dialogue Entry ID from code?

Posted: Thu Feb 09, 2023 4:39 pm
by RS_EG
Hello

I'm wondering if during play mode it's possible to get the currently playing dialogue entry ID as an integer with code?
Screenshot 2023-02-09 213041.png
Screenshot 2023-02-09 213041.png (2.12 KiB) Viewed 203 times
I'm working with Bolt but I haven't found a node which can solely output the value

Thanks

Re: Get Dialogue Entry ID from code?

Posted: Thu Feb 09, 2023 5:47 pm
by Tony Li
Hi,

Use DialogueManager.currentConversationState.subtitle.dialogueEntry.id.

Re: Get Dialogue Entry ID from code?

Posted: Thu Feb 09, 2023 6:40 pm
by RS_EG
Managed to get it working, thanks for the quick reply!

Re: Get Dialogue Entry ID from code?

Posted: Thu Feb 09, 2023 7:44 pm
by Tony Li
Happy to help!