Hello Tony
How to setup a welcome dialogue on game start, but only the NPC talks.
Thank you
EDIT:
IIf possible i want the game to pause at the same time.
I managed to get it going but the first message is very quick, how do i put a delay so initial text dont dissapper that fast
One way dialouge
Re: One way dialouge
Hi,
To make a dialogue in which only the NPC speaks, assign all nodes to the NPC (i.e., all nodes gray, except the <START> node which you can leave untouched). Tip: To create a new node with the same speaker, hold down Shift when right-clicking on the node; then select Create Child Node. Otherwise new nodes will alternate between player and NPC.
Each subtitle stay onscreen for the duration of its node's Sequence. If the Sequence is empty, it will use the Dialogue Manager's Display Settings > Camera & Cutscene Settings > Default Sequence, which is initially set to: Delay({{end}})
This delays for the value of {{end}}, which is based on the text length and the Dialogue Manager's Subtitle Settings > Subtitle Chars Per Second and Min Subtitle Seconds. You can make {{end}} last longer by increasing Min Subtitle Seconds and/or decreasing Subtitle Chars Per Second.
Alternatively, you can set the first node's Sequence to a literal value. For example, to delay for 3 seconds: Delay(3)
To make a dialogue in which only the NPC speaks, assign all nodes to the NPC (i.e., all nodes gray, except the <START> node which you can leave untouched). Tip: To create a new node with the same speaker, hold down Shift when right-clicking on the node; then select Create Child Node. Otherwise new nodes will alternate between player and NPC.
Each subtitle stay onscreen for the duration of its node's Sequence. If the Sequence is empty, it will use the Dialogue Manager's Display Settings > Camera & Cutscene Settings > Default Sequence, which is initially set to: Delay({{end}})
This delays for the value of {{end}}, which is based on the text length and the Dialogue Manager's Subtitle Settings > Subtitle Chars Per Second and Min Subtitle Seconds. You can make {{end}} last longer by increasing Min Subtitle Seconds and/or decreasing Subtitle Chars Per Second.
Alternatively, you can set the first node's Sequence to a literal value. For example, to delay for 3 seconds: Delay(3)
Re: One way dialouge
Thank you Tony
Two more questions.
1: How do freeze the game while the dialogue screen is up?
2: How do i bring the dialogue UI to front? It seems behind my mobile UI controller
Two more questions.
1: How do freeze the game while the dialogue screen is up?
2: How do i bring the dialogue UI to front? It seems behind my mobile UI controller
Re: One way dialouge
If you're using a Dialogue System Trigger, tick Actions > Start Conversation > Pause Game During Conversation.
Inspect the canvas that contains your dialogue UI. If you haven't told the Dialogue Manager to use a different canvas, the dialogue UI will be in the Dialogue Manager GameObject's Canvas child GameObject. Set this canvas's Sort Order to a higher number than your mobile UI controller's Sort Order.
You may also want to hide your mobile UI controller and disable player movement controls during conversations. You can use a Dialogue System Events component to do that. See 07:00 of the Interaction Tutorial for a video description of how to do that.