Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Access Inventory Items names & desc

Enigma Kidd
Registered User
Join date: 10 Feb 2007
Posts: 10
01-13-2008 12:06
I can't seem to find a way to do this.

I want to access the the description of an item i have placed in a prims inventory ..?
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
01-13-2008 12:19
I'm pretty sure you can't. I believe the only thing you can get a direct description of programmatically is the prim the script is in.
Enigma Kidd
Registered User
Join date: 10 Feb 2007
Posts: 10
01-13-2008 12:52
that's pretty much as far as i can establish too ... pity though considering the amount of information you can get out of an inventory item
JFK Peccable
Registered User
Join date: 1 Oct 2007
Posts: 1
01-14-2008 09:22
Seems to me this *should* be possible using the following functions -

http://wiki.secondlife.com/wiki/LlGetInventoryName
- to get the name of the inventory object...

http://wiki.secondlife.com/wiki/LlGetInventoryKey
- to get the UUID of the above object.

http://wiki.secondlife.com/wiki/LlGetObjectDetails
- to get what you are ultimately looking for.

Although I do not see a way of manipulating that field while the object is in inventory.
< scratches head >
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
01-14-2008 09:53
I believe you can't get useful information out of llGetObjectDetails() if the object is not in the sim. I'm afraid being in inventory probably doesn't count as being in the sim.