Page 1 of 1

[SOLVED] PC Reminder Subtitle only when needed

Posted: Fri Dec 18, 2015 7:50 pm
by miguelfanclub
Im trying to create a dialogue in wich the Actor can have several options but those options are not the actual Dialogue that has to be displayed.
Like some adventures nowadays do, I want to be able that the actor select options like "Ironic" answer "Honest" answer etc. After selecting one of those, you see what actually the Actor wants to say.

Using the PC Reminder does not really work as long as there is a way to just to use it when needed.

What would be the best practice to achieve that?

Thanks!

Re: PC Reminder Subtitle only when needed

Posted: Sat Dec 19, 2015 9:06 am
by Tony Li
Hi Miguel,

When you're editing your conversation in the dialogue database, put the option in the Menu Text field. Put the actual dialogue in the Dialogue Text field.

Then tick the Dialogue Manager's Show PC Subtitles During Line checkbox.

Re: PC Reminder Subtitle only when needed

Posted: Sat Dec 19, 2015 9:39 am
by miguelfanclub
Thanks Tony, it works as always.... but doing so I will always have the PC reminder there all the time. I want just to show it when Menu Text And Dialogue Text field are not the same.

Is that possible?

Re: PC Reminder Subtitle only when needed

Posted: Sat Dec 19, 2015 9:47 am
by Tony Li
Try this:

1. On the Dialogue Manager, set the Default Player Sequence to:

Code: Select all

None()
2. In any dialogue entry where Menu Text and Dialogue Text are not the same, set the Sequence to:

Code: Select all

Delay({{end}})

Re: PC Reminder Subtitle only when needed

Posted: Sat Dec 19, 2015 10:27 am
by miguelfanclub
Doesnt seems to work.
Do I still need to mark the Show PC Subtitles During Line?

This is my setup:


Dialogue Manager
Image

Dialogue Entry
Image

Re: PC Reminder Subtitle only when needed

Posted: Sat Dec 19, 2015 10:50 am
by Tony Li
Here's an example: MenuTextTest.unitypackage

Yes, you still need to tick Show PC Subtitles During Line.

What part isn't working?

Also, in your dialogue UI, make sure the UI elements in the PC Subtitle section are assigned.

Re: PC Reminder Subtitle only when needed

Posted: Sat Dec 19, 2015 12:37 pm
by Tony Li
The solution was to change the Dialogue Manager's Default Player Sequence to:

Code: Select all

SendMessage(OnContinue,,Dialogue Manager,broadcast)
The dialogue UI uses a continue button. This sequence makes it bypass the continue button by default for player lines, whereas the previous "None()" sequence waits for the continue button, which allows the line to play through the typewriter.

Re: PC Reminder Subtitle only when needed

Posted: Sat Dec 19, 2015 1:27 pm
by miguelfanclub
Now it works, thanks!