From Second Life Wiki
(Redirected from
LSL llSetLinkColor)
SetLinkColor
llSetLinkColor
Description
Function: llSetLinkColor( integer linknumber, vector color, integer face );
If a task exists in the link chain at linknumber, set face to color
| • integer
| linknumber
| –
| Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag
|
|
| • vector
| color
| –
| color in RGB <R, G, B> (<0.0, 0.0, 0.0> = black, <1.0, 1.0, 1.0> = white)
|
|
| • integer
| face
| –
| face number or ALL_SIDES
|
|
If face is ALL_SIDES then the function works on all sides.
|
|
| Flag
| Description
|
| LINK_ALL_CHILDREN
| -3
| sends to all children, (everything but the root)
|
| LINK_THIS
| -4
| sends to the prim the script is in
|
|
Caveats
- The function silently fails if its face value indicates a face that does not exist
See Also
Events
Functions
Articles