|
MadamG Zagato
means business
Join date: 17 Sep 2005
Posts: 1,402
|
04-11-2006 06:46
How can I use llGiveInventory to place copyable items (textures, etc) into another prims which is a child prim of linked set? I tried using the llGiveInventory script example on the WIKI here: http://secondlife.com/badgeo/wakka.php?wakka=llGiveInventoryand the llGiveInventoryList here: http://secondlife.com/badgeo/wakka.php?wakka=llGiveInventoryList where I got a script error: Unable to give inventory list: Cannot find destination I tried adding llAllowInventoryDrop to the receiving prim, but that didn't help much. Any ideas? 
|
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
04-11-2006 12:25
I have to ask why?
But llAllowInventoryDrop in combination with llGiveInventory should work just fine, unless you're also hit by the llGiveInventory bug.
But... you can send texture keys and use llSetTexture() with just the key instead, almost certainly nicer.
|
|
MadamG Zagato
means business
Join date: 17 Sep 2005
Posts: 1,402
|
04-13-2006 06:07
From: Eloise Pasteur I have to ask why? Because I have a project that requires it. LOL Thanks for your help! Much appreciated.
|
|
Static Sprocket
Registered User
Join date: 10 Feb 2006
Posts: 157
|
04-13-2006 10:09
From: Eloise Pasteur But llAllowInventoryDrop in combination with llGiveInventory should work just fine, unless you're also hit by the llGiveInventory bug. Would this actually allow you to send inventory in the child prim of a linkset? I was messing with this a little the other night, and all the inventory drops ended up in the root prim. Thanks!
|
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
04-13-2006 14:34
The last time I tested it yes. You've got to make sure you get the key of the child prim, not the whole object (that's the same as the root prim's key), but yes it worked. It bloody better still work, I've got a product on the market that relies on it.
|
|
Patch Lamington
Blumfield SLuburban
Join date: 2 Nov 2005
Posts: 188
|
04-13-2006 15:52
It certainly works where the child prims concerned have their own scripts which set allow inventory drop.
_____________________
Blumfield - a regular everyday kind of 'burb in an irregular world. This notice brought to you by the Blumfield Visitors and Residents Bureau.
|
|
Static Sprocket
Registered User
Join date: 10 Feb 2006
Posts: 157
|
04-13-2006 16:05
From: Eloise Pasteur The last time I tested it yes. You've got to make sure you get the key of the child prim, not the whole object (that's the same as the root prim's key), but yes it worked. It bloody better still work, I've got a product on the market that relies on it. Thinking back on it, it's pretty obvious what I was doing wrong (using the objects key, which of course was the root prim.) And I think the llGetLinkKey() function just solved a problem that I've been dancing around for a few weeks... Thanks!
|
|
Adriana Caligari
Registered User
Join date: 21 Apr 2005
Posts: 458
|
04-14-2006 02:11
I use llGiveInventory( child_key, inv_object ) all the time on objects that allow drop and those that dont - works fine for me ?
|