Hi, I’m working on Player’s Announcements,
but I want an advice to make default chat text can be clickable to make player can join the game within any distances far or near.
this one here
The text after my name.
Thanks you so much for helping.
Hi, I’m working on Player’s Announcements,
but I want an advice to make default chat text can be clickable to make player can join the game within any distances far or near.
this one here
The text after my name.
Thanks you so much for helping.
The only thing I could think of is messing with the Chat Scripts (Or GUI’s), and making each TextLabel
whenever a player chats a TextBox
instead to click on
You can refer to this I believe for reference
Yes thank you, but how can I make texts can be clickable? this is only the one problem that I don’t know what to do.
Not that. That thread is about changing the chat settings, this thread is about making text in the chat window clickable. Settings aren’t relevant here.
To be able to accomplish this, you need a Message Creator Module. You will also need to create a new MessageType in the ChatConstants module. All the documentation is there on the page and you can also reference existing message creator modules to make your own.
The default message creator module should have most of the code needed to execute this. The only thing would be changing the TextLabel to a TextButton and then linking up the click connection with your own functions either directly from the creator module or by passing a reference to the created TextButton to another script.
Whoops, my apologies then! I did happen to look at the Lua Chat Reference but I just skimmed through it so that was a mistake on my end (Not sure how I missed the Message Creator Modules)