I stumbled upon CreateDialogue which at first glance seems great. It gives me a box to put the info in, and the box can have a close button so the user can get rid of it if they don't want to see it.
It seems like dialogs have a problem with multi line text though, at least if the text is long. The following code shows a dialog with messed up text:
- Code: Select all
local d = CreateDialogue([[a kinda long is line that is kinda long ish
MJHAU]], {"Close"}, "right")
Text shown:
a kinda long is line that is kinda long is
MJHA
The first line is missing some stuff in the center and the last letter and the second line misses the last letter. Kinda bizzare behavior.
I've also been trying to change the dialog width, to no avail. One thing I tried was more text on the button, though this just leads to the text spilling out of the button rather than the thing resizing >_>
Anyone know how to display info to the players in a decent way, preferably one where they can choose to hide it?