llMapDestination

From Second Life Wiki
Revision as of 04:31, 24 October 2007 by Doug Falta (talk | contribs)
Jump to navigation Jump to search

Summary

Function: llMapDestination( string simname, vector pos, vector look_at );

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.
All Issues ~ Search JIRA for related Bugs

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

Search JIRA for related Issues

Signature

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