How to force display whole message

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
junwi21
Posts: 35
Joined: Wed Jan 27, 2021 12:18 am

How to force display whole message

Post by junwi21 »

How do I force the whole dialog message to display (if it's not completely shown yet) through code?
junwi21
Posts: 35
Joined: Wed Jan 27, 2021 12:18 am

Re: How to force display whole message

Post by junwi21 »

Actually clicking completes the dialog if it's not completed before moving onto the next option. This is what i want. However, with the very first dialog message, if i click too fast before the message has begun, it will skip to the next message instead of displaying the full message or it will just end the dialog without displaying anything if the conversation only lasts one message.
junwi21
Posts: 35
Joined: Wed Jan 27, 2021 12:18 am

Re: How to force display whole message

Post by junwi21 »

It's not being added to the player's quest journal.
User avatar
Tony Li
Posts: 22102
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to force display whole message

Post by Tony Li »

Hi,

You could temporarily disable the continue button for a short time in the first node. One way to do this is to use SetContinueMode() in the first node's Sequence. For example, to prevent clicking for 1 second:

Code: Select all

{{default}}; 
SetContinueMode(false);
SetContinueMode(true)@1
Post Reply