I want to change the conversation title on a dialogue system trigger.
So, I have the string yet and I assign the dialogue trigger to a public Dialogue Trigger. But, when I try to do:
dialogue Trigger.conversation = "new conversation";
Isn't work.

Code: Select all
var dialogueSystemTrigger = triggerObject.GetComponent<DialogueSystemTrigger>();
dialogueSystemTrigger.conversation = "new conversation";
Code: Select all
DialogueLua.SetVariable("Score", 42);
DialogueLua.SetVariable("Color", "blue");