Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Looking for a script to hide an item

Morwen Bunin
Everybody needs a hero!
Join date: 8 Dec 2005
Posts: 1,743
07-28-2007 01:14
When I am making pictures I use often the light feature on an object for special light effects. Mostly I create this object on the spot, give them light effect I want and add a transparant texture to it.

Works great... but some times it can be hard to find these objects back to delete them (specially in an area with many other objects).

So I though that it would be handy to have one "light ball" I can use all the time. I would like to have script to help to make the object hidden and appear again... just like many poseballs have with "/1 hide" and "/2 show", but then maybe with another channel.

Could someone help to such a script?

Thanks.
Morwen.
Capella DeCuir
Registered User
Join date: 15 Jun 2007
Posts: 289
07-28-2007 01:38
I think there's a freebie poseball script hanging around the grid with hide commands, might try looking for that.
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
07-28-2007 04:07
To use the hide/show commands, you'd also need to be sure the texture wasn't itself transparent... then it's a simple matter of toggling the value passed to llSetAlpha(). But you might be just as happy with seeing the light sources by toggling your viewer's display of transparent objects, using Control-Alt-T (from somewhere under the View menu).
Zaphod Kotobide
zOMGWTFPME!
Join date: 19 Oct 2006
Posts: 2,087
07-28-2007 05:51
Catch me in-world Morwen. I can help you with this.
_____________________
From: Albert Einstein
Problems cannot be solved at the same level of awareness that created them.
Ava Glasgow
Hippie surfer chick
Join date: 27 Jan 2007
Posts: 2,172
07-28-2007 10:01
Hi Morwen, I also make temp transparent lights for photography purposes. Rather than bothering with a script, I've just left them the default 1/2 m box and then turned on 'highlight transparent' when it came time to move or delete them. That makes all the transparent things turn a cloudy red, making the light box easy to find. :)