A issue about DialogueText display

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
rahsu123
Posts: 7
Joined: Sat Nov 23, 2024 12:12 am

A issue about DialogueText display

Post by rahsu123 »

hi
I'm not sure if this is my issue or a system bug. Here, the Actor I'm using is named 'garate', and its display name is also 'garate'. This is correctly displayed as the name in the portrait name. However, in the DialogueText, [var=Actor] is using the player's name instead,which is "you". Could you please tell me what's going on?
Attachments
5d1afe449051b1f00ccfb7d6e1302a0.png
5d1afe449051b1f00ccfb7d6e1302a0.png (76.47 KiB) Viewed 97 times
Last edited by rahsu123 on Tue Dec 03, 2024 9:35 am, edited 1 time in total.
rahsu123
Posts: 7
Joined: Sat Nov 23, 2024 12:12 am

Re: A issue about DialogueText display

Post by rahsu123 »

plus,this is the definition of Actor "garate"
Attachments
9c0fd5915de525da46dd86604f92c76.png
9c0fd5915de525da46dd86604f92c76.png (29.91 KiB) Viewed 95 times
User avatar
Tony Li
Posts: 22200
Joined: Thu Jul 18, 2013 1:27 pm

Re: A issue about DialogueText display

Post by Tony Li »

Hi,

[var=Actor] and [var=Conversant] are the conversation's Actor and Conversant, not the individual dialogue entry's Actor and Conversant. These two variables don't change with each dialogue entry. They're set once at the beginning of the conversation.

If you know that the conversation's Conversant is garate, then you can use [var=Conversant] in the dialogue text.
rahsu123
Posts: 7
Joined: Sat Nov 23, 2024 12:12 am

Re: A issue about DialogueText display

Post by rahsu123 »

oh, i see, thank for you reply.
User avatar
Tony Li
Posts: 22200
Joined: Thu Jul 18, 2013 1:27 pm

Re: A issue about DialogueText display

Post by Tony Li »

Glad to help!
Post Reply