llSetInventoryDesc

From Second Life Wiki
Revision as of 11:15, 18 March 2009 by Manami Hokkigai (talk | contribs) (New page: {{LSL Function/negative_index|false|number}} {{LSL_Function |mode=request |func_id=??? |func_sleep=0.0 |func_energy=10.0 |func=llSetInventoryDesc |p1_type=integer|p1_name=type|p1_desc=INVE...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Emblem-important-yellow.png LSL Feature Request
The described function does not exist. This article is a feature request.

Summary

Function: llSetInventoryDesc( integer type, integer number, string desc );
REQUEST Function ID
0.0 Forced Delay
10.0 Energy

Sets the description of the inventory object number of type. Useful for vendors wishing to hand out customized versions of no-mod objects.

• integer type INVENTORY_* flag
• integer number Beginning from 0
• string desc Desired description for inventory object

number does not support negative indexes. Inventory items are sorted in alphabetical order (not chronological order).

Flag Inventory Type
INVENTORY_NONE -1 Item does not exist.
INVENTORY_ALL Any inventory type.
INVENTORY_TEXTURE 0 texture
INVENTORY_SOUND 1 sound
INVENTORY_LANDMARK 3 landmark
INVENTORY_CLOTHING 5 clothing
INVENTORY_OBJECT 6 object
Flag Inventory Type
INVENTORY_NOTECARD 7 notecard
INVENTORY_SCRIPT 10 script
INVENTORY_BODYPART 13 body part
INVENTORY_ANIMATION 20 animation
INVENTORY_GESTURE 21 gesture
INVENTORY_SETTING 56 setting
INVENTORY_MATERIAL 57 material

Caveats

  • If number is out of bounds the script continues to execute without an error message.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Deep Notes

Search JIRA for related Issues

Signature

//function void llSetInventoryDesc( integer type, integer number, string desc );