Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Texture change for sunglasses?

Pompo Bombacci
Some designer :)
Join date: 25 Jul 2006
Posts: 69
01-03-2007 06:35
Where can I find a script to change texture on sunglasses (just on the lenses)? I have a script that works but ya gotta click on each lens and its actually impossible to get to the lenses unless you standing on a posing stand:).

Somebody suggested I use fairly standard listen script with a chat message on an unusual channel...That sounds exactly like what I need

Anyone got one VERY easy to use or hints where to get it?
I just need to be able to change two textures.

Ty :)
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
01-03-2007 07:01
From: Pompo Bombacci
Where can I find a script to change texture on sunglasses (just on the lenses)? I have a script that works but ya gotta click on each lens and its actually impossible to get to the lenses unless you standing on a posing stand:).

Somebody suggested I use fairly standard listen script with a chat message on an unusual channel...That sounds exactly like what I need

Anyone got one VERY easy to use or hints where to get it?
I just need to be able to change two textures.

Ty :)


What you need to do is send the key of the new texture to user via a either a chat message or a linked message from the root prim.

The script in lens will then call llSetTexture passing it the id it has just received.
Pompo Bombacci
Some designer :)
Join date: 25 Jul 2006
Posts: 69
01-03-2007 07:30
thank you for yor reply Newgate, but do you have any idea where I can find a script like that?
I'm not a scripter at all I'm just a dumb designer :)

Ty Again
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
01-03-2007 07:59
From: Pompo Bombacci
thank you for yor reply Newgate, but do you have any idea where I can find a script like that?
I'm not a scripter at all I'm just a dumb designer :)

Ty Again



The sort of thing you are after has been previously covered as a window blind script here