Dialogue will not start for some reason, details in topic
Posted: Sun Aug 06, 2023 4:18 pm
Hi there,
I use a DialogueSystemTrigger component on an empty game object. I start my first dialogue by calling:
Which works as intended and starts my dialogue using the built in continue button for each line.
Now after the dialogue ends, I want a different dialogue to start on the same object when the player fails in one of my minigames, so I use:
In the editor, the first dialogue node after the Start node in "New Conversation 5" turns green as expected, however nothing appears on screen, neither the dialogue nor the continue button, and because of that there is no way for the player to continue playing and the game is stuck.
There are no warnings or errors appearing in the console.
Please ask me if there is anything else you'd like to know.
Kind regards, Kevin
I use a DialogueSystemTrigger component on an empty game object. I start my first dialogue by calling:
Code: Select all
this.GetComponent<DialogueSystemTrigger>().OnUse();
Now after the dialogue ends, I want a different dialogue to start on the same object when the player fails in one of my minigames, so I use:
Code: Select all
void PlayerTooFast()
{
if (gameRunning)
{
this.GetComponent<DialogueSystemTrigger>().conversation = "New Conversation 5";
this.GetComponent<DialogueSystemTrigger>().OnUse();
gameRunning = false;
}
}
There are no warnings or errors appearing in the console.
Please ask me if there is anything else you'd like to know.
Kind regards, Kevin