Control Dialogs pause and play

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
angelothic
Posts: 6
Joined: Sun Oct 29, 2023 5:05 pm

Control Dialogs pause and play

Post by angelothic »

Hello,

I'm creating tutorial system with dialog system for unity.
Dialog start and explain game, then after 3 text need to stop. Then user click UI element and continue dialog.
How can I do that?
Can I add parameter like. conversion node onEndStop true or yes .

Thank you
User avatar
Tony Li
Posts: 21679
Joined: Thu Jul 18, 2013 1:27 pm

Re: Control Dialogs pause and play

Post by Tony Li »

Hi,

Use the sequencer command WaitForMessage() or Continue()@Message() to wait for the player to click the UI element.

If you need to hide the dialogue UI at step 3 until the player clicks the UI element, use the sequencer command SetDialoguePanel(false).

The Dialogue System Extras page has a Tutorial Conversation Example scene (direct download).
angelothic
Posts: 6
Joined: Sun Oct 29, 2023 5:05 pm

Re: Control Dialogs pause and play

Post by angelothic »

Thanks for answer.

I downloaded and checked example. It uses dialog trigger on use event.

How can I call "SequencerMessage(ClickedRed)" from custom script ?
Tried find answer but not available I think.


Thank you
User avatar
Tony Li
Posts: 21679
Joined: Thu Jul 18, 2013 1:27 pm

Re: Control Dialogs pause and play

Post by Tony Li »

Hi,

Use this line:

Code: Select all

PixelCrushers.DialogueSystem.Sequencer.Message("ClickedRed");
Post Reply