Difference between revisions of "LlMapDestination"

From Second Life Wiki
Jump to navigation Jump to search
m (added notes=, also=)
Line 9: Line 9:
|return_text
|return_text
|spec
|spec
|caveats
|caveats=
if '''simname''' is ommited map open centered on user, but destination will not be higlighted
|constants
|constants
|examples=<pre>
|examples=<pre>
Line 21: Line 22:
</pre>
</pre>
|helpers
|helpers
|also_functions
|also_functions=
{{LSL DefineRow||[[llRequestInventoryData]]|}}
|also_tests
|also_tests
|also_events
|also_events
|also_articles
|also_articles
|notes
|notes=
'''pos''' may be fed grid coordinates from [[llRequestInventoryData]]
|permission
|permission
|inventory
|inventory

Revision as of 03:17, 12 November 2007

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.if simname is ommited map open centered on user, but destination will not be higlighted
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.
     }
}

Notes

pos may be fed grid coordinates from llRequestInventoryData

See Also

Functions

•  llRequestInventoryData

Deep Notes

Search JIRA for related Issues

Signature

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