Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

giving notecards and landmarks

Sydney Jacobs
Registered User
Join date: 31 May 2004
Posts: 756
01-07-2005 17:11
anyone know where i can get a script that will allow someone to get a notecard and landmark from an object when they touch it?

I've seen it around before, and now i can't find it =(
DoteDote Edison
Thinks Too Much
Join date: 6 Jun 2004
Posts: 790
01-07-2005 17:17
CODE

default {
touch_start(integer total_number) {
llGiveInventory(llDetectedKey(0),"Notecard Name Here");
llGiveInventory(llDetectedKey(0),"Landmark Name Here");
}
}
Sydney Jacobs
Registered User
Join date: 31 May 2004
Posts: 756
01-07-2005 21:22
works great! thanks!