Simnelia Petrichor
-
Posts
2 -
Joined
-
Last visited
Content Type
Forums
Blogs
Knowledge Base
Posts posted by Simnelia Petrichor
-
-
So I want to use llDialog to display a list of the display names of nearby avatars gathered by llSensor. I know that a button can't have a label longer than 24 characters so I use llGetSubString to make sure none of the names exceed that.
My problem is, one of the nearby avatars has the name "Riley 横バ火".
LSL has no problem with that - it considers it to be 9 characters long. But put it on a button in llDialog and you get an error - "button labels must be 24 or fewer characters long".
Experimenting, I find I can make a button that displays the first 8 characters of the name. I can also display the last 8 characters of the name. It's as though the button treats each character of the name as being 3 characters long.
Anyone seen this issue before? Any advice?
llDialog error when button uses non-standard font
in LSL Scripting
Posted
Thanks for all the responses - this is the way I'll go. Slightly embarrassed with myself that I didn't see it in the wiki now!