Difference between revisions of "LlMapDestination"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 11: Line 11:
|caveats
|caveats
|constants
|constants
|examples
|examples=<pre>
default
{
    touch_start(integer num)
    {
          llMapDestination("Oasis", <128, 128, 0>, ZERO_VECTOR); //Click the object this script is in and your map opens up in the middle of Oasis.
    }
}
</pre>
|helpers
|helpers
|also_functions
|also_functions

Revision as of 03:31, 24 October 2007

Summary

Function: llMapDestination( string simname, vector pos, vector look_at );
1.0 Forced Delay
10.0 Energy

Opens world map centered on region with pos highlighted.
Only works for scripts attached to avatar, or during touch events.

• string simname
• vector pos
• vector look_at not used

(NOTE: look_at currently does nothing)

Caveats

  • This function causes the script to sleep for 1.0 seconds.

Examples

default
{
     touch_start(integer num)
     {
          llMapDestination("Oasis", <128, 128, 0>, ZERO_VECTOR); //Click the object this script is in and your map opens up in the middle of Oasis.
     }
}

Deep Notes

Signature

function void llMapDestination( string simname, vector pos, vector look_at );