InventoryType
Constants in the InventoryType enum.
integer INVENTORY_ALL = -1; // Used with inventory functions to specify that all types of inventory items should be retrieved.integer INVENTORY_ANIMATION = 20; // Used with inventory functions to filter or retrieve items of the ANIMATION type.integer INVENTORY_BODYPART = 13; // Used with inventory functions to filter or retrieve items of the BODYPART type.integer INVENTORY_CLOTHING = 5; // Used with inventory functions to filter or retrieve items of the CLOTHING type.integer INVENTORY_GESTURE = 21; // Used with inventory functions to filter or retrieve items of the GESTURE type.integer INVENTORY_LANDMARK = 3; // Used with inventory functions to filter or retrieve items of the LANDMARK type.integer INVENTORY_MATERIAL = 57; // Used with inventory functions to filter or retrieve items of the MATERIAL type.integer INVENTORY_NONE = -1; // Value returned by inventory functions indicating that the specified inventory item does not exist.integer INVENTORY_NOTECARD = 7; // Used with inventory functions to filter or retrieve items of the NOTECARD type.integer INVENTORY_OBJECT = 6; // Used with inventory functions to filter or retrieve items of the OBJECT type.integer INVENTORY_SCRIPT = 10; // Used with inventory functions to filter or retrieve items of the SCRIPT type.integer INVENTORY_SETTING = 56; // Used with inventory functions to filter or retrieve items of the SETTING type.integer INVENTORY_SOUND = 1; // Used with inventory functions to filter or retrieve items of the SOUND type.integer INVENTORY_TEXTURE = 0; // Used with inventory functions to filter or retrieve items of the TEXTURE type.
Constants
| Constant | Type | Value | Description |
|---|---|---|---|
INVENTORY_ALL | integer | -1 | Used with inventory functions to specify that all types of inventory items should be retrieved. |
INVENTORY_ANIMATION | integer | 20 | Used with inventory functions to filter or retrieve items of the ANIMATION type. |
INVENTORY_BODYPART | integer | 13 | Used with inventory functions to filter or retrieve items of the BODYPART type. |
INVENTORY_CLOTHING | integer | 5 | Used with inventory functions to filter or retrieve items of the CLOTHING type. |
INVENTORY_GESTURE | integer | 21 | Used with inventory functions to filter or retrieve items of the GESTURE type. |
INVENTORY_LANDMARK | integer | 3 | Used with inventory functions to filter or retrieve items of the LANDMARK type. |
INVENTORY_MATERIAL | integer | 57 | Used with inventory functions to filter or retrieve items of the MATERIAL type. |
INVENTORY_NONE | integer | -1 | Value returned by inventory functions indicating that the specified inventory item does not exist. |
INVENTORY_NOTECARD | integer | 7 | Used with inventory functions to filter or retrieve items of the NOTECARD type. |
INVENTORY_OBJECT | integer | 6 | Used with inventory functions to filter or retrieve items of the OBJECT type. |
INVENTORY_SCRIPT | integer | 10 | Used with inventory functions to filter or retrieve items of the SCRIPT type. |
INVENTORY_SETTING | integer | 56 | Used with inventory functions to filter or retrieve items of the SETTING type. |
INVENTORY_SOUND | integer | 1 | Used with inventory functions to filter or retrieve items of the SOUND type. |
INVENTORY_TEXTURE | integer | 0 | Used with inventory functions to filter or retrieve items of the TEXTURE type. |
Used by
llGetInventoryNamefunctionReturns the name of the inventory item of the specified type (INVENTORY_*) at the specified inventory index.llGetInventoryNumberfunctionReturns the count of items of the specified type (INVENTORY_*) in the prim's inventory.