Code: Select all
llSetLinkAlpha (LINK_SET, 0.0, ALL_SIDES);
sets linked object to transparent and
Code: Select all
llSetLinkAlpha (LINK_SET, 1.0, ALL_SIDES);
Full script could be:
Code: Select all
default
{
state_entry()
{
llSetLinkAlpha (LINK_SET, 0.0, ALL_SIDES); //transparent when rezzed
llSetText("I always RTFM", <1.0, 0.0, 0.0>, 1.0);
}
touch_start(integer detected_number)
{
llSetLinkAlpha (LINK_SET, 1.0, ALL_SIDES); //non-transparent after click
llSetText("What about you?", <1.0, 0.0, 0.0>, 1.0);
}
}
Feel free to try transparency with my trees and plants at 21strom.
It is best solution for me and my customers because it looks much much better and there are no blurry edges between transparent and non-transparent (technically non-existing:) part of texture.