Difference between revisions of "LlGetInventoryDesc"

From Second Life Wiki
Jump to navigation Jump to search
(Copied the definition of llGetInventoryName() and modified.)
 
(Changed parameters to fit the pattern of the other llGetInventory* functions.)
Line 6: Line 6:
|func=llGetInventoryDesc
|func=llGetInventoryDesc
|return_type=string
|return_type=string
|p1_type=integer|p1_name=type|p1_desc=INVENTORY_* flag
|p1_type=string|p1_name=name|p1_desc=name of an inventory item
|p2_type=integer|p2_name=number
|func_footnote=If the item does not exist, [[INVENTORY_NONE]] is returned (no errors or messages are generated).
|func_footnote
|func_desc
|func_desc
|return_text=that is the description of the inventory item '''number''' of '''type'''. Returns an empty string if no item of the specified type is found in the prim's inventory.
|return_text=that is the description of the inventory item '''name'''.
|spec
|spec
|caveats
|caveats
|constants={{LSL Constants Inventory}}
|examples
|examples
|helpers
|helpers
Line 29: Line 27:
|permission
|permission
|sort=GetInventoryDesc
|sort=GetInventoryDesc
|cat1=Inventory
|cat1
|cat2
|cat2
|cat3
|cat3
|cat4
|cat4
}}
}}

Revision as of 09:33, 17 October 2007

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

Summary

Function: string llGetInventoryDesc( string name );
0.0 Forced Delay
10.0 Energy

Returns a string that is the description of the inventory item name.

• string name name of an inventory item

If the item does not exist, INVENTORY_NONE is returned (no errors or messages are generated).

Examples

See Also

Functions

•  llGetInventoryName Returns the inventory item's name
•  llGetInventoryNumber Returns the number of items of a specific type in inventory
•  llGetInventoryType Tests to see if an inventory item exists and returns it's type.
•  llGetInventoryCreator Returns the inventory item's creator
•  llGetInventoryPermMask Returns the inventory item's permissions
•  llGetInventoryKey Returns the inventory item's UUID (if full perm)

Deep Notes

Signature

//function string llGetInventoryDesc( string name );