Different NPCs panels

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
miguelfanclub
Posts: 43
Joined: Sat Nov 28, 2015 4:09 pm

Different NPCs panels

Post by miguelfanclub »

Hi,

Is it possible to have different panels configurations for different npcs?
User avatar
Tony Li
Posts: 21061
Joined: Thu Jul 18, 2013 1:27 pm

Re: Different NPCs panels

Post by Tony Li »

It's much easier in version 2.x using the Standard Dialogue UI. Add a Dialogue Actor component to the NPC and specify which panel number to use.

However, you can still do it in version 1.x. It's just a little more complicated. You'll need to add an Override Unity UI Dialogue UI Controls component to the NPC. Use the instructions in the World Space Dialogue UIs section. The instructions are still valid even if the panel isn't a world space UI.

If you decide to upgrade to version 2.x, make sure to follow the upgrade instructions. If you're using the Menu Framework, delete the Menu Framework's Scripts folder. Then import the latest version of the Menu Framework, too.
miguelfanclub
Posts: 43
Joined: Sat Nov 28, 2015 4:09 pm

Re: Different NPCs panels

Post by miguelfanclub »

Is the Standard Dialogue UI TextMesh pro compatible??? I cant drag any text to any field for lines.
User avatar
Tony Li
Posts: 21061
Joined: Thu Jul 18, 2013 1:27 pm

Re: Different NPCs panels

Post by Tony Li »

Yes, but you must enable it first using these steps.
Post Reply