Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

lGiveInventoryList script in wearable gift box question

Tibbi Intikhab
Sage
Join date: 26 Nov 2007
Posts: 5
07-25-2009 17:44
To get around the problem of unpacking a box in a no-build area, using the script from the llGiveInventoryList wiki page to create a gifting box. The person wears the gift box, clicks the box, and the script makes a folder in the inventory and copies the items into that folder.

It all works just fine, except when an item in the gift box is no copy.


Is there any way to MOVE an item out of the wearable gift box instead of COPY? The item will no longer be in the gift box, but that's ok.
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
07-25-2009 18:10
No, you can't give inventory with a no-copy object.
_____________________
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
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
07-26-2009 03:05
I'm not sure this is helpful to the OP, but if the whole objective is to "get around the problem of unpacking a box in a no-build area," then a common approach is for a scripted vendor to do the llGiveInventoryList() itself--the vendor's owner usually has copy permission on all the contents. A more common approach is an unscripted "vendor" set to sell its Contents.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
07-26-2009 05:45
and I beg you to go the extra step and use give inventory list instead of sell contents, especially if there is more than one object being transferred... I hate having to search for each little piece I just bought because they get dumped in three different folders by sell contents.

the problem with the inventory gives and no-copy is even worse, when you consider that you can't even move a no-copy item from one prim to another in the same object.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
07-26-2009 06:06
From: Void Singer
and I beg you to go the extra step and use give inventory list instead of sell contents, especially if there is more than one object being transferred... I hate having to search for each little piece I just bought because they get dumped in three different folders by sell contents.
When does that happen? Never happens for me. When I buy the contents of an object I always get one folder with the name of the object and all the contents in that folder.
_____________________
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
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
07-26-2009 08:57
From: Argent Stonecutter
When does that happen? Never happens for me. When I buy the contents of an object I always get one folder with the name of the object and all the contents in that folder.

older behavior I guess, I have avoided box vendors for the longest time because of it, so uhm... disregard? (thanks for the correction, I hate out of date info =/ yet I have so much)
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Tibbi Intikhab
Sage
Join date: 26 Nov 2007
Posts: 5
07-26-2009 14:45
Thanks for the info.

Since there's no way around the no-copy limitation on the wearable gift box, I'm just have the script tell the giftee that there was a non-copy item (not too difficult, OwnerSay for each item), and that they will need to rezz the box somewhere buildable to get that item out.

(this is all hopefully for a hunt in the future)

I don't really understand why there's this limitation. The no-copy is moved out of the box when it's rezzed on the ground, there's no reason it couldn't do the same when the box is wore.


Hopefully there won't be too many of them no-copy items being packed up. :)
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
07-26-2009 17:52
the behavior is ostensibly to prevent losses do to bad inventory transfers
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -