INVENTORY_BODYPART
constant
Constant
integer INVENTORY_BODYPART = 13;Constant groups
Other InventoryType values (13)
Used with Inventory functions and specifies inventory items of BODYPART type will be retrieved by the function.
Examples
Section titled “Examples”Example 1
//Gives inventory only to agents with the same active groupdefault{ touch_start(integer total_number) { integer number = 0; do { if (llDetectedGroup(number)) //same as llSameGroup(llDetectedKey(number)) (with llSameGroup, detected must be in the sim) llGiveInventory(llDetectedKey(number), llGetInventoryName(INVENTORY_BODYPART,0)); else llSay(0, "Wrong active group!"); }while(total_number > ++number); }}See also
Section titled “See also”Constants
Section titled “Constants”INVENTORY_NONE- INVENTORY ALL
- INVENTORY ANIMATION
- INVENTORY CLOTHING
- INVENTORY GESTURE
- INVENTORY LANDMARK
- INVENTORY NOTECARD
- INVENTORY OBJECT
- INVENTORY SCRIPT
- INVENTORY SETTING
- INVENTORY SOUND
- INVENTORY TEXTURE
Functions
Section titled “Functions”Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.