Jump to content
Sign in to follow this  
Airway

Texture change scripting question

Recommended Posts

I have a 5 prim chair that I would like to add maybe 10 textures to and have the ability to change the textures from a menu that comes up when I click the chair. The chair has a 1 prim frame and 4 prims of cushions. I do not want the frame to change texture only the cushions. I see many texture change scripts in the marketplace. What will work for this, and how do I set it up so only the desired 4 prims change texture? Thank you.

Share this post


Link to post
Share on other sites

You would either put scripts inside the prims that should change their textures and inform them through a 'master script' to change the texture. Or you use llSetLinkPrimitiveParamsFast. Since linknumbers can change, I would loop through the prims and change the prims with a certeain name.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...