Friday, November 21, 2008
USERLOGIN PASSWORD Remember?
You are here » Learning Center ยป Forums

Openlife Forums

 Openlife Grid Forums
Minimize
 
  Openlife Forums  Scripting  Openlife LSL Ex...  LandMark Giver
Previous Previous
 
Next Next
New Post 8/23/2008 7:37 PM
User is offline Bri
7 posts
Openlife Newbie


LandMark Giver 
Modified By Bri  on 8/24/2008 8:15:34 PM)

(Test these scripts before deploy. Other open sims have reported a possible glitch that may cause the receiving Avatar's client  to be closed. I have not seen that in OL.)

A LM giver is handy to move Avatars around your region or distant locations.
I find in many instances it can replace a teleporter.

Just place this script and the associated Landmark in a prim.
is a touch and go style.

 
//-------------------------------------------------------------------

//LM giver
default
{
           touch_start(integer total_number)
           {

                 // change within " " for LM detail
               llGiveInventory(llDetectedKey(0), "Orlay, Si parcel, Orlay (54, 88, 22)");
           }
}

 //-------------------------------------------------------------------END

or

//--------------------------------------------------------------------

default
{

    touch_start(integer total_number) {

      
 // This will pick out the first LM and give it.
        llGiveInventory(llDetectedKey(0),llGetInventoryName(INVENTORY_LANDMARK,0));

    }

}

 //-------------------------------------------------------------------END

 


RL..now with 100% less lag!
 
New Post 8/24/2008 7:36 PM
Online now... Sakai Openlife
595 posts
openlifegrid.com
Openlife Senior




Re: LandMark Giver 

Thanks Bri,

I'll be sure to give this a whirl


Sakai Openlife
Openlifegrid.com Founder

Exciting things are happenning!
http://openlifegrid.com
 
Previous Previous
 
Next Next
  Openlife Forums  Scripting  Openlife LSL Ex...  LandMark Giver
 Popular Forum Threads
Minimize
In the past 1 week, we have 65 new thread(s) and 256 new post(s)
The most popular thread has been GLBT Region?
The most active thread has been GLBT Region?
Privacy Statement | Terms Of UseAll Rights Reserved 2007,2008 3DX - Openlifegrid.com