LlSetInventoryDesc

From Second Life Wiki

Second Life Wiki > LlSetInventoryDesc
Jump to: navigation, search

Template:Needs Translation/LSL/de Template:Needs Translation/LSL/es Template:Needs Translation/LSL/el Template:Needs Translation/LSL/fr Template:Needs Translation/LSL/he Template:Needs Translation/LSL/it Template:Needs Translation/LSL/ja Template:Needs Translation/LSL/ko Template:Needs Translation/LSL/nl Template:Needs Translation/LSL/hu Template:Needs Translation/LSL/no Template:Needs Translation/LSL/da Template:Needs Translation/LSL/sv Template:Needs Translation/LSL/tr Template:Needs Translation/LSL/pl Template:Needs Translation/LSL/pt Template:Needs Translation/LSL/ru Template:Needs Translation/LSL/uk Template:Needs Translation/LSL/zh-Hans Template:Needs Translation/LSL/zh-Hant

Image:Emblem-important-yellow.png LSL Feature Request
The described function does not exist. This article is a feature request.

Contents

Summary

Function: llSetInventoryDesc( string name, string desc );
REQUEST Function ID
0.0 Delay
10.0 Energy

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 prim's inventoryINVENTORY_* flag
• string desc Desired description for inventory object

Caveats

  • If name is missing from the prim's inventory then an error is shouted on DEBUG_CHANNEL.

Search JIRA for related Bugs

Examples

See Also

Deep Notes

Comments

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 </div></div>


Personal tools
In other languages