Get Conversion Name from ConversionEntry in Lua

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Krejwen
Posts: 25
Joined: Mon Jun 08, 2020 8:09 am

Get Conversion Name from ConversionEntry in Lua

Post by Krejwen »

Hi!

I checked forum, documentation and DS C# code but I cannot find the answer.

Is it possible to get the ConversationName in CoversationEntry? I want to avoid potential errors from Design side.

In the example below conversation ("New Conversation 5") has to be rescheduled to another day. Code is in the last DialogueEntry of this conversation.

Code: Select all

if not Variable["Resheduled"]  then
RescheduleConversation(2, "New Conversation 5");
Variable["Resheduled"] = true;
end
I would like to change "New Conversation 5" to something like: self.parent.Title.
Post Reply