Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Landmark despenser

Stuna213 Absolute
Member
Join date: 8 Jun 2005
Posts: 99
06-26-2005 16:45
I need a script to attatch to a bilboard that will give out a landmark to anyone that touches it... thanks :)
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
06-26-2005 17:13
CODE
touch_start(integer total_number)
{
llGiveInventory(llDetectedKey(0),"Item Name Here");
}


See also:
http://secondlife.com/badgeo/wakka.php?wakka=llGiveInventory
http://secondlife.com/badgeo/wakka.php?wakka=llGiveInventoryList
_____________________
---
Stuna213 Absolute
Member
Join date: 8 Jun 2005
Posts: 99
06-26-2005 17:33
thank you very much! it works perfectly now :)
Chage McCoy
Aerodrome Janitor
Join date: 23 Apr 2004
Posts: 336
06-26-2005 17:44
I tend to prefer the wiki's example, but thats because I am lazy I dont want to have to think about putting in the inventory name :)