Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Vender

heehaw Odets
Registered User
Join date: 13 Jul 2005
Posts: 11
08-01-2005 17:14
okay im know this exists, i jsut need a primitive that has a photo of an object, and when you click it it tries to give you something, pritty basic.
Frans Charming
You only need one Frans
Join date: 28 Jan 2005
Posts: 1,847
08-01-2005 17:43
Straight from the wiki.

CODE

default {
touch_start(integer total_number) {
// to give a different inventory item type,
// replace "INVENTORY_OBJECT" with "INVENTORY_NOTECARD", etc.
llGiveInventory(llDetectedKey(0), llGetInventoryName(INVENTORY_OBJECT, 0));
}
}


http://secondlife.com/badgeo/wakka.php?wakka=llGiveInventory
_____________________
heehaw Odets
Registered User
Join date: 13 Jul 2005
Posts: 11
08-01-2005 17:51
thank you