Location Finder

Date 2006/10/15 18:12:01 | Topic: Primitive/Object

When object is rezzed or touched it will say the vector cordinates for the object's location.

I use this when setting up multiple locations in teleporters. Sure the vector is displayed at the top of the screen for your location at all times, but I'm too lazy to type it and would rather copy it from the Chat History.
default
{
    
on_rezinteger param )
    {
        
llResetScript();
    }
    
    
state_entry()
    {
        
llSay(0, (string)llGetPos());
    }

    
touch_start(integer total_number)
    {
        
llSay(0, (string)llGetPos());
    }
}




This script comes from Alicia Stella Design - Best Tip Jars in Second Life
http://www.aliciastella.com

The URL for this script is:
http://www.aliciastella.com/modules/AMS/article.php?storyid=6