Display the last subtitle of a conversation indefinitely

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
KristianS
Posts: 5
Joined: Wed Apr 12, 2023 5:08 pm

Display the last subtitle of a conversation indefinitely

Post by KristianS »

Hello,

I am wondering if it is possible to display the last subtitle of a conversation indefinitely on screen even when there are no response options? For the game I am making I would sometimes like the last subtitle to remain on screen indefinitely, I then set it up so the conversation closes when a player clicks an object.

Is there a way to set this up? I have looked around but not figured it out. Thanks.
User avatar
Tony Li
Posts: 21679
Joined: Thu Jul 18, 2013 1:27 pm

Re: Display the last subtitle of a conversation indefinitely

Post by Tony Li »

Hi,

Yes. Set the final dialogue entry's Sequence to:

Code: Select all

WaitForMessage(Forever)
This will wait for a non-existent message "Forever", meaning it will wait forever -- or until you manually stop the conversation, or until the player clicks the continue button if you've enabled continue buttons by setting the Dialogue Manager's Subtitle Settings > Continue Button dropdown. If you've enabled continue buttons and want to disable them, change the Sequence to:

Code: Select all

SetContinueMode(false);
required SetContinueMode(true)@Message(Forever)
(The second line turns continue mode back on so it's ready for the next conversation.)
Post Reply