User:Strife Onizuka/Sandbox/Switch/Template:Test

From Second Life Wiki
Jump to navigation Jump to search















{request}



Function: llTriggerLandmark( key landmark );

Function: llTriggerLandmark( key landmark );

Allows a script to trigger the activation of a specific landmark, as identified by it's UUID, and teleport an avatar/user to the defined destination.

• key landmark

Caveats

  • This function causes the script to sleep for 5.0 seconds.* Function is automatic if teleporting to a landmark already contained within the user's inventory
  • Provides standard Landmark Dialog if landmark does not exist within the user's inventory

This function might also require a specific permission to be set in order to function (to help prevent abuse).

Examples

Notes

I'm sure I'm not the only one who already has tons of landmarks, though there are a select number of which I use quite often. I have efforted to create a HUD which will povide easy access to commonly-used landmarks, but there is no function in LSL to access them.