Skip to content
lsl.devlsl.devLSL Dev

Constants in the InventoryType enum.

All constant groups

At a glance, from the LSL definitions
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

ConstantTypeValueDescription
INVENTORY_ALLinteger-1Used with inventory functions to specify that all types of inventory items should be retrieved.
INVENTORY_ANIMATIONinteger20Used with inventory functions to filter or retrieve items of the ANIMATION type.
INVENTORY_BODYPARTinteger13Used with inventory functions to filter or retrieve items of the BODYPART type.
INVENTORY_CLOTHINGinteger5Used with inventory functions to filter or retrieve items of the CLOTHING type.
INVENTORY_GESTUREinteger21Used with inventory functions to filter or retrieve items of the GESTURE type.
INVENTORY_LANDMARKinteger3Used with inventory functions to filter or retrieve items of the LANDMARK type.
INVENTORY_MATERIALinteger57Used with inventory functions to filter or retrieve items of the MATERIAL type.
INVENTORY_NONEinteger-1Value returned by inventory functions indicating that the specified inventory item does not exist.
INVENTORY_NOTECARDinteger7Used with inventory functions to filter or retrieve items of the NOTECARD type.
INVENTORY_OBJECTinteger6Used with inventory functions to filter or retrieve items of the OBJECT type.
INVENTORY_SCRIPTinteger10Used with inventory functions to filter or retrieve items of the SCRIPT type.
INVENTORY_SETTINGinteger56Used with inventory functions to filter or retrieve items of the SETTING type.
INVENTORY_SOUNDinteger1Used with inventory functions to filter or retrieve items of the SOUND type.
INVENTORY_TEXTUREinteger0Used with inventory functions to filter or retrieve items of the TEXTURE type.

Used by