From Second Life Wiki
MapDestination
llMapDestination
Description
Function: llMapDestination( string simname, vector pos, vector look_at );
Opens world map centered on simname with pos highlighted.
Only works for scripts attached to avatar, or during touch events.
| • string
| simname
| –
| Region name
|
|
| • vector
| pos
| –
| Region coordinates
|
|
| • vector
| look_at
| –
| not used
|
|
(NOTE: look_at currently does nothing)
Caveats
- This function causes the script to sleep for 1.0 seconds.
- if simname is omitted, map will open centered on object, but pos will not be highlighted
Notes
- pos will work with Region coordinates not inside simname. (like those returned by llRequestInventoryData)
- if called from an event other than touch, it only works for the owner.
- if called from touch, it may only work for the first or last touch in the event queue (example: num_touched > 1)
Deep Notes
Issues
| • Open Bug
| VWR-2060[c]
|
| pos is sometimes replaced with incorrect data (workaround included)
|