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_rez( integer param )
{
llResetScript();
}
state_entry()
{
llSay(0, (string)llGetPos());
}
touch_start(integer total_number)
{
llSay(0, (string)llGetPos());
}
}
|