I realize the child would need its own script to run, but could the llSetTexture() reference a texture in the parents inventory?
(This may be a broader question about referencing inventory items from a child/parent)
These forums are CLOSED. Please visit the new forums HERE
Can I apply a texture in a parent to a child? |
|
Carefree Doolittle
Registered User
Join date: 25 Nov 2005
Posts: 16
|
01-03-2006 15:03
I realize the child would need its own script to run, but could the llSetTexture() reference a texture in the parents inventory?
(This may be a broader question about referencing inventory items from a child/parent) |
AJ DaSilva
woz ere
![]() Join date: 15 Jun 2005
Posts: 1,993
|
01-03-2006 15:14
Not 100%, but I think you'll need to pass the texture UUID from the parent with a link message. Don't think you can reference other prims inventories.
_____________________
|
Driftwood Nomad
Registered User
![]() Join date: 10 May 2003
Posts: 451
|
01-03-2006 15:15
If you know the texture's key, you can use that to set the texture in any prim without the texture having to be inside the inventory. The llSetTexture function can take a key as the texture name.
_____________________
Driftwood Nomad
D&D Dogs Co-founder "Second Life’s first AI companion animal" The Second Opinion, 08/05/2003 D&D Dogs HQ Pawaii (127, 63) Mainland Store Kuula (214, 124) http://www.sldogs.com SL Dogs Zazzle store! ![]() |
Carefree Doolittle
Registered User
Join date: 25 Nov 2005
Posts: 16
|
Thank you
01-03-2006 16:26
Yes, that will do it, and using the key will also solve some of the problems in the "broader question" too, thanks.
|
Elijah Hutchence
Maker of the Blue Falcon
Join date: 7 Oct 2005
Posts: 14
|
01-17-2006 19:49
I made a free open-source texture changer object. You can get it from me in SL, just IM me.
|