I have a cutscene in my game where it orders and shows players in a line. Players tend to spam chat so their chat bubbles get obnoxious during these cutscenes.
I have thought about just disabling the chat for the duration of the cutscene, but players who chat right before the cutscene starts - their bubbles are seen.
So is there any way to disable the chat bubble temporarily?
You can do that by playing the game in studio and copying the chat modules folder in StarterPlayer and then click on the Chat Settings script and find the lines for Bubble chat and Classic chat and set them both to false. (this disables chat, if thats fine)
you can make a wait then when the cutscene if over the chat comes back to true
If you are using the game.Chat.BubbleChatEnabled = true bubble chat, then, yes. Just set the property to false to turn it off and true to turn it back on. If you are using the old version, no, you cannot accomplish a temporary turn off, only a permanent turn off.
(If you still have the old bubble chats files it will revert to that bubble chat when disabled, you can just delete those, though.)