Page 1 of 1

how can I add an image to the dialog

Posted: Tue May 14, 2024 8:39 am
by Rekveem
I wanted to create an "Image" variable with a link to an image, and inside the conversational block, in the "Dialogue text" field, enter "[var=image] to output an image inside the text block. Is this possible? Or there is another way. In this case, I did not understand how to create a "File" variable and specify the path to the desired image.
What i want (attached pictures):

Re: how can I add an image to the dialog

Posted: Tue May 14, 2024 10:27 am
by Tony Li
Hi,

The easiest way is to set up your dialogue UI with TextMesh Pro, and then use a <sprite> tag in your dialogue text.