Clear text buffer on trigger new dialogue

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
boz
Posts: 76
Joined: Mon Oct 19, 2020 8:59 pm

Clear text buffer on trigger new dialogue

Post by boz »

Is there a sequence or something to use at the beginning of a new conversation that clears what was already showing in the buffer? (using the wrpg template)

Basically, no previous conversations showing when hitting a fresh trigger?
User avatar
Tony Li
Posts: 21980
Joined: Thu Jul 18, 2013 1:27 pm

Re: Clear text buffer on trigger new dialogue

Post by Tony Li »

Hi,

It should already be clear, but you can tick the subtitle panel's Clear Text On Close checkbox to make sure the text is cleared.
boz
Posts: 76
Joined: Mon Oct 19, 2020 8:59 pm

Re: Clear text buffer on trigger new dialogue

Post by boz »

Ahh it looks like that function wasn't being called. I made an override for it that handles it on close. Thank you :D
User avatar
Tony Li
Posts: 21980
Joined: Thu Jul 18, 2013 1:27 pm

Re: Clear text buffer on trigger new dialogue

Post by Tony Li »

I don't follow. If 'Clear Text On Close' was ticked on your Standard UI Subtitle Panel, was it not clearing the text when closing?
Post Reply