Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llSetLinkTexture with non-full perm Texture

Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
11-20-2008 09:21
i'm trying to create a texture menu script for a friend who has little to no scripting skills. i originally was just grabbing the texture uuid from the inventory texture and passing it thru a link message. but found that didn't work if the texture isn't full perms for the next user. so thought i'd try using llSetLinkTexture, or llSetLinkPrimitiveParams and hewee's method of setting the params by the link name. but now i find that you can't set a texture on a different link via script if you don't have both copy and trans perms on it. you can set the texture on the prim it's stored in, and use it as a particle texture, so why not other links? would the only solution be to store the same textures in all the prims to be textured and just send a link message telling them what texture to use?

and yes, i've thought of telling her to just make them full perms, but she'd rather not
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
11-20-2008 09:41
There's no reason not to make textures full perm unless you're specifically selling them, by themselves (not part of a build) for personal use only.
_____________________
Argent Stonecutter - http://globalcausalityviolation.blogspot.com/

"And now I'm going to show you something really cool."

Skyhook Station - http://xrl.us/skyhook23
Coonspiracy Store - http://xrl.us/coonstore
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
11-20-2008 09:46
she's not selling the textures. they're textures that are to be used in an attachment she's selling, created for that attachment.
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
11-20-2008 09:59
From: Ruthven Willenov
she's not selling the textures. they're textures that are to be used in an attachment she's selling, created for that attachment.
Then make the textures full-perm, because it's really not the permissions on the texture that matters.
_____________________
Argent Stonecutter - http://globalcausalityviolation.blogspot.com/

"And now I'm going to show you something really cool."

Skyhook Station - http://xrl.us/skyhook23
Coonspiracy Store - http://xrl.us/coonstore
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
11-20-2008 10:23
Hmm. What happens if you give the texture to the other prim (using llGiveInventory()) and then use its name for llSetLinkTexture()? That would allow a copy/no-transfer solution for the textures at least. I'm just not sure if llSetLinkTexture() checks for texture names in the target prim. Might be worth a try.