Jump to content
You are about to reply to a thread that has been inactive for 136 days.

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

Recommended Posts

Posted

Hello all looking for some help on getting this script to work for more than 1 texture uuid and texture all sides.

 

////////////////////////////////////////////////////////////////////
// RenderWorks Advanced Texture Change HUD Scripts 1.0 /////////////
////////////////////////////////////////////////////////////////////
// OpenSource Script For SecondLife and OpenSimulator //////////////
// Licensed under Creative Commons Attribution 4.0 International ///
////////////////////////////////////////////////////////////////////
// This script by RenderWorks may be used in any manner, modified //
// and republished. Unless specified otherwise, our scripts are ////
// always open source. Objects made with these scripts may be sold /
// with no restrictions. ///////////////////////////////////////////
////////////////////////////////////////////////////////////////////

integer channel = -1000855; // Channel for comms (Must be same as reciever).
 string texture = "7a7f8f13-8640-320f-a4dd-6f877390abd0"; // UUID of Texture to apply
   integer link = LINK_SET;  // Link number to apply the texture to (LINK_SET for all links).
   integer face = ALL_SIDES; // Face number to apply the texture to (ALL_SIDES for all faces).

string SR = "*"; // Seperator to use in the list, must be the same
                 // as the seperator to be used within the reviever
                 // script.

////////////////////////////////////////////////////////////////////

default
{
    touch_start(integer total_number) // When object is touched.
    {
        // Say each texture property with the seperator inbetween so the reciever can parse it.
        llRegionSay(channel,texture+SR+(string)link+SR+(string)face);
    }
}
 

Posted (edited)

It depends on how you want to control which texture is being applied. How do you want to control which texture is chosen?

Edited by BriannaLovey
Posted
1 hour ago, BriannaLovey said:

It depends on how you want to control which texture is being applied. How do you want to control which texture is chosen?

i want it to change the whole object. it's a top and bottoms but each uses a different texture

You are about to reply to a thread that has been inactive for 136 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
×
×
  • Create New...