Jump to content

Is it possible? apply a texture to 1 face in a prim collection and it textures the whole set?


Nella Drillon
 Share

You are about to reply to a thread that has been inactive for 4490 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I do not know the way to do that way,  but putting the same function just a differant face will work the same way

you could try a loop to do it like "while" or "for"

default{    state_entry()    {        llSetLinkTexture(LINK_SET, "66bf4030-04f9-a808-43ab-b48b6aeb6456", 1);        llSetLinkTexture(LINK_SET, "66bf4030-04f9-a808-43ab-b48b6aeb6456", 2);    }}

 

Link to comment
Share on other sites

default{

    state_entry(){

        integer face;

        do{

            llSetLinkTexture(LINK_SET,"78152d64-2b71-a2d6-7430-4396a97acaaa",face );

            ++face;

        }while(face<2);//Change 2 to the number of faces to apply it to

    }

}

 This will work as long as you do not try to set the texture to face 0

  • Like 1
Link to comment
Share on other sites

YES!  The second one worked like a charm!  Thank you so much, I've been texturing these things for the past 4 years by each face and this will take all that time away!  Thank you for helping me!!!

 

:matte-motes-big-grin-squint:

 

The last one worked but it didn't texture the faces I wanted it to texture.  It did however texture two of the faces on the prim.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4490 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...