|
Sasun Steinbeck
Quaternions ate my brain
Join date: 17 Sep 2005
Posts: 36
|
05-21-2006 19:48
I need to have an object "A" set a texture by UUID. The texture is stored in another object "B" in it's inventory and that object sends the UUID of the texture to A and A calls llSetTexture with the UUID. "A" may be owned by someone else than the other of B.
Exactly what permissions do I need to set on the texture I drop in B for this to work? Does it need to be full permission? What MINIMUM owner perms does the texture need to have, exactly? I can't get this to work with anything other than full perm textures.
_____________________
-Sasun Steinbeck
|
|
Draco18s Majestic
Registered User
Join date: 19 Sep 2005
Posts: 2,744
|
05-21-2006 19:57
You can't do it as far as I know. You can only call the function if the texture is in your inventory or object A's inventory.
|
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
05-21-2006 23:19
You can use all the scripted textue functions by UUID regardless of where the texture is stored, but the only way (scripted or otherwise) you can find out the UUID is if you've got a full perms version of the texture (same for sounds btw), or you know someone with a full perms version who will give you the key.
This is an odd little quirk built in to stop people ripping off people's textures and sounds and using them without permission. With animations it's even worse, you need to have the animation in the object's inventory and call it by name.
|
|
Sasun Steinbeck
Quaternions ate my brain
Join date: 17 Sep 2005
Posts: 36
|
05-22-2006 00:43
ah! I've been looking at the wrong thing. The problem is actually at the llGetInventoryKey() call, it's returning NULL_KEY for non-full-permission objects (as documented) and I'm not checking for that. D'oh! I thought the key was getting to the destination object and the llSetTexture() call was failing. But it's just receiving a NULL_KEY. Thanks!!
_____________________
-Sasun Steinbeck
|