I would like the NPC to automatically say the dialogue.

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
minomod
Posts: 89
Joined: Mon Jun 19, 2017 9:17 am

I would like the NPC to automatically say the dialogue.

Post by minomod »

1. Enter the dialogue.
2. Give the NPC a bark on idle and connect the lines.
3. Play the game.

Result: NPC does not say dialogue

http://www.pixelcrushers.com/dialogue_s ... logueEvent
I'm not good at checking out the help.
Last edited by minomod on Sat Aug 05, 2017 11:21 am, edited 1 time in total.
minomod
Posts: 89
Joined: Mon Jun 19, 2017 9:17 am

Re: I would like the NPC to automatically say the dialogue.

Post by minomod »

I set it as a wizard and it fixes it at once
Attachments
2.png
2.png (66.49 KiB) Viewed 717 times
minomod
Posts: 89
Joined: Mon Jun 19, 2017 9:17 am

Re: I would like the NPC to automatically say the dialogue.

Post by minomod »

Can I adjust the position of the metabolism on my legs?
Attachments
3.png
3.png (57.1 KiB) Viewed 716 times
User avatar
Tony Li
Posts: 21050
Joined: Thu Jul 18, 2013 1:27 pm

Re: I would like the NPC to automatically say the dialogue.

Post by Tony Li »

Hi,

Yes, if you're using Unity UI Bark UI, just move it up. To see if you're using Unity UI Bark UI, look for a child GameObject that has a Unity UI Bark UI component. For an example, see the NPC "Sergeant Graves" in Examples / Unity UI Examples / Generic UI Example Scene.

Image

If you're using Unity Bark UI, use these steps. (To see if you're using Unity Bark UI, look for a Unity Bark UI component on the NPC. For an example, see "Sergeant Graves" in Examples / Feature Demo.)

1. The bark text will appear above the NPC's collider.

2. If the NPC doesn't have a collider, you can add a Unity Bark UI On GUI component and set its Offset field.

Image

3. Or, add a child GameObject at the position you want. Then assign this child GameObject to the Unity Bark UI's Text Position field.

Image

(You do not have to do #2 and #3. You can choose one or the other.)
minomod
Posts: 89
Joined: Mon Jun 19, 2017 9:17 am

Re: I would like the NPC to automatically say the dialogue.

Post by minomod »

Resolved at # 2. thank you.
Post Reply