Russo Floor Lamp
Land Impact 2
Info: Touch to turn on or off
This item is part of the Russo Collection. See related items below for more items from this collection, as well as a fatpack.
See item in Second LifeFixed it for ya
As the previous reviewer said, the lamp looks great, and it emits light when switched on, but it doesn't *look* lit. I wrote a quick script to fix that. Drop this script into the lamp and it will light up and emit a soft glow when switched on. You're welcome!
list glon = [PRIM_FULLBRIGHT, ALL_SIDES, TRUE, PRIM_GLOW, ALL_SIDES, 0.01];
list gloff = [PRIM_FULLBRIGHT, ALL_SIDES, FALSE, PRIM_GLOW, ALL_SIDES, 0.0];
default
{
state_entry()
{
llSetLinkPrimitiveParams(LINK_THIS, gloff);
}
touch_end(integer total_number)
{
state on;
}
}
state on
{
state_entry()
{
llSetLinkPrimitiveParams(LINK_THIS, glon);
}
touch_end(integer inum)
{
state default;
}
}
Lights should look lit
The Lamp looks pretty in day light, however, when you turn it on at nights, it omits light but the top part remains totally dark






