Icolino7 wrote: ↑Thu Nov 28, 2019 6:29 amIs there a way to pause conversation until a user hits a specific custom UI button?
There are 2 ways:
1. Use a continue button.
If you want to do this for all dialogue entry nodes in the conversation, set the Dialogue Manager's Subtitle Settings > Continue Button dropdown to Always.
If you only want to do it in a specific node, use SetContinueMode() in the node's Sequence, such as:
using PixelCrushers.DialogueSystem; //<-- Include at top of script.
...
public void SwitchConversation(string newConversation)
{
DialogueManager.StopConversation(); // End the current conversation.
DialogueManager.StartConversation(newConversation); // Start the new conversation.
}
where msg is the message to wait for. Send this message using C# code: Sequencer.Message(msg)
However, if you have enabled continue buttons, then the player can still skip ahead by clicking the continue button. To disable the continue button, put this in the Sequence field: