LSL feature request. The described function does not exist. This article is a feature request.

Will display text on face in the specified color as a regular texture would, using the assigned font, and wrapping lines at the end of chars_per_line.

Syntax

void llSetFaceText( integer face, string text, integer chars_per_line, vector color, integer font );

Forced delay: 0.0 seconds. Energy: 10.0.

Parameters

integer face
the face number of the prim
string text
text to display
integer chars_per_line
number of characters until wrapping lines
vector color
RBG color at which text will be displayed
integer font
the font used

Caveats

llSetFaceText(face, "", 0, <1.0, 1.0, 1.0>, 0);

Examples

Example of using the function on a prim saying "Hello World":

default
{
    state_entry()
    {
        llSetFaceText(0, "Hello World!", -1, <1.0, 1.0, 1.0>, 1);
    }
}