Continue button behaviour different between PC and NPC subtitles

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Afello
Posts: 13
Joined: Sat Mar 02, 2019 12:34 pm

Continue button behaviour different between PC and NPC subtitles

Post 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
User avatar
Tony Li
Posts: 21981
Joined: Thu Jul 18, 2013 1:27 pm

Re: Continue button behaviour different between PC and NPC subtitles

Post 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.
Afello
Posts: 13
Joined: Sat Mar 02, 2019 12:34 pm

Re: Continue button behaviour different between PC and NPC subtitles

Post 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!
User avatar
Tony Li
Posts: 21981
Joined: Thu Jul 18, 2013 1:27 pm

Re: Continue button behaviour different between PC and NPC subtitles

Post by Tony Li »

Happy to help! :-)
Post Reply