Original Discord Post by imdoldoli | 2024-08-22 05:39:49
How can I remove the chatting log in Convai chatbox UI? I want the log to disappear after certain amount of time, either one by one or all at once
Images:
Original Discord Post by imdoldoli | 2024-08-22 05:39:49
How can I remove the chatting log in Convai chatbox UI? I want the log to disappear after certain amount of time, either one by one or all at once
Images:
Reply by imdoldoli | 2024-08-22 05:53:01
I’ve tried adding reset conversation… but it doesn’t clear out the chat log… I found out that it removes the memory session…
Reply by k3kalinix | 2024-08-22 21:29:00
<@&1163218672580575372>
Reply by freezfast | 2024-08-22 21:38:41
Hi <@469160795406860298>, you will need to access the chat widget UI itself that exists on the player blueprint and from it you can clear all the messages. cc: <@1216254232957685765> for a quick screenshot of how it can be done
Reply by mighty_brute | 2024-08-23 08:40:25
Hello <@469160795406860298>, The ChatWidget is constructed in the ConvaiBasePlayer. From there, you can get a reference to the widget. All the chat bubbles are added inside the scroll box named ChatSB. To clear the chat, you can access this scroll box and call ClearChildren, which will clear the chat.
Feel free to reach out to us if you have any more questions or doubts.
This conversation happened on the Convai Discord Server, so this post will be closed.