Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

A way to customize an item in an object's inventory before calling llGiveInventory

Edison Swain
Registered User
Join date: 7 Dec 2006
Posts: 51
01-06-2007 23:39
I'd love to be able to have an object communicate with an item in it's inventory.

I'm currently trying to script a Vendor, that contains an Object for sale. Through a user interface of Dialogs and some communication with an external database, the Object will be extensively customizable. So the Vendor goes through all the process of getting all the attributes to customize Object, but it can't do anything to Object before llGiveInventory is called to give it to the Purchaser. The only way for Vendor to communicate with Object is to rez Object. So once it is rezzed, Vendor and Object talk to make sure that Object is completely customized before the Purchaser gets it. But once the customization is done, there is now no way to "Give" the rezzed Object to the Purchaser.

So, you can't change an Object until it's rezzed, but as soon as you rez an Object, you can't transfer the ownership of it.

So basically, the ability to do either one of those would be fantastic!
Haravikk Mistral
Registered User
Join date: 8 Oct 2005
Posts: 2,482
01-07-2007 04:51
Hmm, would setting the object to be buyable suit your needs? You set the object as purchasable, then rez it and give the user customisation options, when they're happy they just buy the object that is rezzed in front of them.
This would maybe suit your needs unless different options have different costs?

I dunno, having an object capable of giving itself as inventory is requested a fair bit, and it would certainly be nice and allow you to rez the object, customise it, take it back and THEN give it.
_____________________
Computer (Mac Pro):
2 x Quad Core 3.2ghz Xeon
10gb DDR2 800mhz FB-DIMMS
4 x 750gb, 32mb cache hard-drives (RAID-0/striped)
NVidia GeForce 8800GT (512mb)