|
bargain Walcott
Registered User
Join date: 31 Oct 2005
Posts: 248
|
04-04-2006 04:08
I know this subject has been brought up a thousand times and I think I read them all. But obviously I can't find what I'm looking for or I wouldn't be posting this!
With a simple texture changing script i know how to adjust it so all sides or just one side of a prim will change but what if you want let's say 2 or 3 sides to change.
For example here's what I've been playing with:
llSetTexture(name, ALL_SIDES); llSetTexture(name, 2);
but how do you set it for like sides 2 and 3?
|
|
Ceera Murakami
Texture Artist / Builder
Join date: 9 Sep 2005
Posts: 7,750
|
04-04-2006 06:30
You do the individual sides one face at a time, I am afraid. I don't think llSetTexture will take a list as an argument for the face(s) to change. So:
llSetTexture(name1, ALL_SIDES); llSetTexture(name2, 2); llSetTexture(name2, 3);
The above would set faces 2 and 3 to texture 'name2', and the remaining sides to texture 'name1'.
_____________________
Sorry, LL won't let me tell you where I sell my textures and where I offer my services as a sim builder. Ask me in-world.
|
|
Kayla Stonecutter
Scripting Oncalupen
Join date: 9 Sep 2005
Posts: 224
|
04-05-2006 07:55
You can also use llSetPrimitiveParams() with two commands for texture in the list.
|