Diffrent name colour for npcs

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
dragonlord3989
Posts: 8
Joined: Sat Jan 02, 2016 3:31 pm

Diffrent name colour for npcs

Post by dragonlord3989 »

Hello so I was reading over viewtopic.php?f=3&t=401 which was handy but I was wondering if this was usable for npc names so not ever npc/player has same colour name.
User avatar
Tony Li
Posts: 21721
Joined: Thu Jul 18, 2013 1:27 pm

Re: Diffrent name colour for npcs

Post by Tony Li »

Hi,

It's easier for NPC names:

First check your dialogue UI. Drill down to the NPC Portrait Name(s) Text elements. There may be two of them if you have separate panels for the NPC Subtitle and NPC Subtitle Reminder. Make sure they're set to use Rich Text.

Then add an Override Actor Name to your NPC. Use rich text codes in the Override Name. For example, to make Gandalf's name grey, set the Override Name field to:

Code: Select all

<color=grey>Gandalf</color>
dragonlord3989
Posts: 8
Joined: Sat Jan 02, 2016 3:31 pm

Re: Diffrent name colour for npcs

Post by dragonlord3989 »

:D Thanks
Post Reply