287Scripting Basics for the Designer
Line 11 has a new function to tell the object to do. This function, like the llSay() function, also needs
some information, put inside its parentheses, called parameters. The typical syntax for the function
and all that it expects to have on its line is this:
llSetColor(vector color, integer face);
What this means is that you must dene the color in terms of red, green, and blue percentages, and you
have to specify which faces on the object should change color. Note: you can nd out the number of a par-
ticular face by selecting with the Build/Edit menu/Select Face and looking at the notation just above the tabs
line on the menu interface.
As we discussed in Chapter 7, color is indicated by percentages (0% or ...