I want to use multiple Portraits.

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
minomod
Posts: 89
Joined: Mon Jun 19, 2017 9:17 am

I want to use multiple Portraits.

Post by minomod »

During the conversation, alternating between the first and second portraits of the main character
I want to use it.
Attachments
1.png
1.png (15.31 KiB) Viewed 458 times
User avatar
Tony Li
Posts: 21033
Joined: Thu Jul 18, 2013 1:27 pm

Re: I want to use multiple Portraits.

Post by Tony Li »

Hi,

To use portrait 2 for a single dialogue entry node, use the [pic=#] tag. For example:
  • Dialogue Text: "I'm very angry! [pic=2]"
To permanently switch to portrait 2, use the SetPortrait() sequencer command:
  • Dialogue Text: "I'm going to stay angry until you apologize!"
    Sequence: SetPortrait(speaker,pic=2); {{default}}
(I added {{default}} to tell the sequence to also use the Dialogue Manager's Default Sequence.)
minomod
Posts: 89
Joined: Mon Jun 19, 2017 9:17 am

Re: I want to use multiple Portraits.

Post by minomod »

Thanks, I solved the problem.
Post Reply