You are currently not logged in! Enter your authentication credentials below to log in. You need to have cookies enabled to log in.
llSetLinkAlpha(integer link, float alpha, integer face)
An integer value defining the link number of the prim to be read.
The following special link specification constants can be used:-
Constant | Value | Description |
---|---|---|
LINK_THIS | -4 | refers to the prim the script is in |
LINK_ROOT | 1 | refers to the root prim in a multi-prim linked set |
LINK_SET | -1 | refers to all prims |
LINK_ALL_OTHERS | -2 | refers to all prims other than the one the script is in |
LINK_ALL_CHILDREN | -3 | refers to all children (everything but the root) |
A float value between 0.0 and 1.0 indicating the degree of opacity, with 1.0 being fully opaque.
llSetLinkAlpha(3, 0.5, 6); // Will set face 6 of link 3 to 50% transparent llSetLinkAlpha(2, 0.0, ALL_SIDES); // Will make link 3 or this object disappear
// This will cause all other prims of the current object to blink on and // off continuously (appear and disappear) integer flip; default { state_entry() { llSetTimerEvent(0.5); } timer() { flip = !flip; llSetLinkAlpha(LINK_ALL_OTHERS, flip, ALL_SIDES); } }
llSetAlpha
to affect only the current prim.llSetColor
to set the color of a face in the current prim, or llSetLinkColor
to set it for any chosen prim.