hi, i'm making a texture change HUD. the code i used was:
default
{
state_entry()
{
llListen (-xxxxx,"","","");
}
listen(integer channel, string name, key id, string msg)
{
llSetTexture(msg,ALL_SIDES);
}
that worked perfect. you wore or rezzed the object, click on the HUD, enter the UUID and all the parts changed very fast and reliable. trouble was anyone else using the same HUD could change the texture on your object as well.
so to make it owner specific i added
if (llGetOwnerKey(id) == llGetOwner()) making it: