Difference between revisions of "LlGetInventoryName"

From Second Life Wiki
Jump to navigation Jump to search
Line 13: Line 13:
|examples
|examples
|helpers
|helpers
|also_functions=*{{LSLG|llGetInventoryNumber}}
|also_functions=
*{{LSLG|llGetInventoryType}}
{{LSL DefineRow||[[llGetInventoryNumber]]|}}
*{{LSLG|llGetInventoryKey}}
{{LSL DefineRow||[[llGetInventoryCreator]]|}}
{{LSL DefineRow||[[llGetInventoryKey]]|}}
{{LSL DefineRow||[[llGetInventoryType]]|}}
|also_events
|also_events
|also_tests
|also_tests

Revision as of 15:02, 2 March 2007

Summary

Function: string llGetInventoryName( integer type, integer number );

Returns a string that is the name of the inventory item number of type.

• integer type INVENTORY_* flag
• integer number

number does not support negative indexes.

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

Deep Notes

Search JIRA for related Issues

Signature

function string llGetInventoryName( integer type, integer number );