Npc Look at player in conversation

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Amine33
Posts: 22
Joined: Mon May 21, 2018 4:48 pm

Npc Look at player in conversation

Post by Amine33 »

Your asset Very helpful...I never think Made game Can't be that Easy ....thanks Very Much

I'have two question
First one
When I WRITE With arabic the result be like this
https://ibb.co/hEqQtT

And the Second Problme
When I be Behind(The npc) And Press Space button to talk with him That's what happens
https://ibb.co/iKfEno

I want when I press ' talk Button '
Npc Turn ...And Look At me ( Player)

Soory For my bad English And Thanks you again ... :D
User avatar
Tony Li
Posts: 22058
Joined: Thu Jul 18, 2013 1:27 pm

Re: Npc Look at player in conversation

Post by Tony Li »

Hi,

What version of the Dialogue System for Unity are you using? To check the version, select Tools > Pixel Crushers > Dialogue System > Welcome Window or Window > Dialogue System > Help > Welcome Window. The window will show the version:

Image
Amine33 wrote: Tue Jun 05, 2018 12:19 amFirst one
When I WRITE With arabic the result be like this
https://ibb.co/hEqQtT
I'm sorry, I don't know Arabic. What is wrong? If the text types backward, please use the Standard Dialogue UI (only in version 2.x) or Unity UI Dialogue UI. Inspect the subtitle line. In the Unity UI Typewriter Effect, tick Right To Left:

Image
Amine33 wrote: Tue Jun 05, 2018 12:19 amAnd the Second Problme
When I be Behind(The npc) And Press Space button to talk with him That's what happens
https://ibb.co/iKfEno
I see two problems.

1. The NPC should turn to face the player. As a first step, change the NPC's first dialogue entry node to:

Code: Select all

LookAt(listener); {{default}}
This will immediately turn the NPC to look at the player. If you want to do something more fancy, you can change it to:

Code: Select all

LiveCamera(Closeup,speaker,1); LookAt(listener,,1); {{default}}
2. The Response Menu and PC Subtitle show at the same time:

Image

This shouldn't happen. Is the conversation running twice at the same time?

Please test with another dialogue UI, such as the Generic Unity UI Dialogue UI:

Image

Let me know if the same problem happens.

If you get stuck, you can send your project to tony (at) pixelcrushers.com. I will be happy to look at it.
Amine33
Posts: 22
Joined: Mon May 21, 2018 4:48 pm

Re: Npc Look at player in conversation

Post by Amine33 »

About Arabic Problme
   The problem is not in dialogue System ....
The Problme In unity ...It does not support Arabic .. I found a solution In assetstore
I'm sorry I asked before I search


And ..The solution to my second problem ...Work great
I am thankful..To Your Help
User avatar
Tony Li
Posts: 22058
Joined: Thu Jul 18, 2013 1:27 pm

Re: Npc Look at player in conversation

Post by Tony Li »

I'm glad to help!
Post Reply