Jump to navigation Jump to search
All Issues ~ Search JIRA for related Bugs
|LSL Portal||Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials|
|LSL Feature Request|
|The described function does not exist. This article is a feature request.|
SummaryFunction: llSetInventoryDesc( string name, string desc );
Sets the description of the inventory item name to desc. Useful for vendors wishing to hand out customized versions of no-mod objects.
|• string||name||–||an item in the inventory of the prim this script is inINVENTORY_* flag|
|• string||desc||–||Desired description for inventory object|
- If name is missing from the prim's inventory then an error is shouted on DEBUG_CHANNEL.
Search JIRA for related Issues
//function void llSetInventoryDesc( string name, string desc );
A few things that came to mind:
- When used in a vendor it would be more useful to change the desc of the item when giving, and not actually changing it in the prim's inventory.
P.S. I changed the syntax, using inventory numbering to access items is hazardous, names are less prone to change. -- Strife (talk