Difference between revisions of "LlGetInventoryName"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
{{LSLFunctionAll|func_id=147|func_sleep=0.0|func_energy=10.0|func=llGetInventoryName|return_type=string|p1_type=integer|p1_name=type|p2_type=integer|p2_name=number|func_footnote=Get the name of the inventory item number of type|return_text|spec|caveats|examples|helpers|related|also|notes}}[[Category:LSL_Functions]][[Category:LSL_Stub]]
{{LSL_Function
|func_id=147|func_sleep=0.0|func_energy=10.0
|func=llGetInventoryName|return_type=string|p1_type=integer|p1_name=type|p2_type=integer|p2_name=number
|func_footnote
|func_desc
|return_text=that is the name of the inventory item '''number''' of '''type'''.
|spec
|caveats
|constants={{LSL Constants Inventory}}
|examples
|helpers
|also_functions=*{{LSLG|llGetInventoryNumber}}
*{{LSLG|llGetInventoryType}}
*{{LSLG|llGetInventoryKey}}
|also_events
|also_tests
|also_articles
|notes
|permission
|negative_index
|sort=GetInventoryName
|cat1=Inventory
|cat2
|cat3
|cat4
}}

Revision as of 00:04, 10 February 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
• integer number

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

Examples

Deep Notes

Search JIRA for related Issues

Signature

function string llGetInventoryName( integer type, integer number );