Hello,
since some years I use a simple Texturechanger script for the HUDs of my Creations.
It looks like this:
---------------------------------------------------------------------------------------------------------------------------
integer channel = 9000049; // Channel for comms (Must be same as reciever).
string texture = "4f2abcfc-5df9-43b8-4fc1-ee30e8c96c01"; // UUID of Texture to apply
string normal = "072f449b-8098-1cc8-42f0-acc72c45ae70"; // UUID of NORMAL Texture to apply
string spec = "3eee90c2-497c-c4d8-a071-be01d402aa62"; // UUID of Specualr 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).
integer glossiness = 100; // Value of glosiness
integer environment = 0; // Value of environmental reflection
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+SR+"SPECULAR"+SR+"NORMAL");
llSay(channel,texture+SR+(string)link+SR+(string)face+SR+normal+SR+spec+SR+(string)glossiness+SR+(string)environment);
}
}
--------------------------------------------------------------------------------------------------------------------------------------------
Now, I know I place the Number of a link or face here:
integer link = 1;
integer face = 2;
which allowes me to adress ONE specific Link or Face.
But I would like to adress more then just one face or link, like:
integer link = 1 and 2 and 3;
Is there a way to do it within this script?