Page 1 of 1

Continue button behaviour different between PC and NPC subtitles

Posted: Wed Dec 15, 2021 9:00 am
by Afello
Hi!

On my NPC substitles when I hit the continue button when the typewriter fx is still doing it's thing it will first auto complete the node text and I have to hit the continue button a second time before going on to the next node. This is the targeted behaviour I want from the continue button.

On my PC substitles when I hit the continue button it will stop writing the text and jump instantly to the next node.

I've been looking at all the settings on de DialogManager, on the panels themselves, the typewriter fx etc etc. As far as I can see there is no reason why the PC subtitles shouldn't be working exactly like the NPC substitles, all components pretty much look the same qua settings. I am pretty sure I am completely missing something (as usual) but right now don't know where to look anymore. For the love of dialog, please help! :)

Kind regards,
Paul

Re: Continue button behaviour different between PC and NPC subtitles

Posted: Wed Dec 15, 2021 10:02 am
by Tony Li
Hi Paul,

Inspect your PC Subtitle Panel. Click on the value of the Continue Button field. This will highlight the continue button that's assigned to the PC Subtitle Panel. Make sure this continue button is configured the same as the NPC Subtitle Panel's continue button. It should have a StandardUIContinueButtonFastForward component, and the UI Button component's OnClick() event should call StandardUIContinueButtonFastForward.OnFastForward.

Also make sure the subtitle text GameObject is assigned to the StandardUIContinueButtonFastForward component.

Re: Continue button behaviour different between PC and NPC subtitles

Posted: Wed Dec 15, 2021 10:23 am
by Afello
"Also make sure the subtitle text GameObject is assigned to the StandardUIContinueButtonFastForward component."

Yup, that was it! Thank you so much. My own fault for giving both text objects the same name. Will do a better job of labeling my elements from now on :)

Once again, many thanks Tony!

Re: Continue button behaviour different between PC and NPC subtitles

Posted: Wed Dec 15, 2021 10:33 am
by Tony Li
Happy to help! :-)