Difference between revisions of "LlMapDestination"

From Second Life Wiki
Jump to navigation Jump to search
Line 6: Line 6:
|p3_type=vector|p3_name=look_at|p3_desc=not used
|p3_type=vector|p3_name=look_at|p3_desc=not used
|func_footnote=(NOTE: '''look_at''' currently does nothing)
|func_footnote=(NOTE: '''look_at''' currently does nothing)
|func_desc=Opens world map centered on region with '''pos''' highlighted.<br />Only works for scripts {{LSLG|attach}}ed to avatar, or during {{LSLG|touch}} events.
|func_desc=Opens world map centered on region with '''pos''' highlighted.<br />Only works for scripts [[attach]]ed to avatar, or during {{LSLGC|Touch|touch}} events.
|return_text
|return_text
|spec
|spec
Line 32: Line 32:
|cat2=Attachment
|cat2=Attachment
|cat3=Avatar
|cat3=Avatar
|cat4
|cat4=Touch
}}
}}

Revision as of 18:48, 3 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.
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 );