LlSetLinkAlpha
From Second Life Wiki
| Languages: |
English • Deutsch • Español • ελληνικά • Français • עברית • Italiano • 日本語 • 한국어 • Nederlands • Magyar • Norsk • Dansk • Svenska • Türkçe • Polski • Português • Русский • украї́нська • 中文(简体) • 中文(繁體) |
| Volunteer translated pages are linked in blue, Google translated pages are linked in grey. Learn how to provide volunteer translations. | |
| LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Tutorials |
Contents |
Summary
Function: llSetLinkAlpha( integer linknumber, float alpha, integer face );| 274 | Function ID |
| 0.0 | Delay |
| 10.0 | Energy |
If a prim exists in the link chain at linknumber, set face to alpha
| • integer | linknumber | – | Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag | |
| • float | alpha | – | from 0.0 (clear) to 1.0 (solid) (0.0 <= alpha <= 1.0) | |
| • integer | face | – | face number or ALL_SIDES |
If face is ALL_SIDES then the function works on all sides.
|
| |||||||||||||||||||||
Examples
Make the entire object disappear for 5 seconds
default { touch_start(integer detected) { llSetLinkAlpha(LINK_SET, 0.0, ALL_SIDES); llSetTimerEvent(5.0); } timer() { llSetLinkAlpha(LINK_SET, 1.0, ALL_SIDES); llSetTimerEvent(0.0); } }
See Also
Events
| • | changed | – | CHANGED_COLOR |
Functions
| • | llGetLinkNumber | – | Returns the link number of the prim the script is in. | |
| • | llGetAlpha | – | Gets the prim's alpha | |
| • | llSetAlpha | – | Sets the prim's alpha | |
| • | llGetColor | – | Gets the prim's color | |
| • | llSetColor | – | Sets the prim's color | |
| • | llSetLinkColor | |||
| • | llSetLinkTexture | |||
| • | llSetLinkPrimitiveParams |
Articles
| • | Translucent Color |
This article wasn't helpful for you? Maybe the related article at the LSL Wiki is able to bring enlightenment.

