Difference between revisions of "LlTriggerLandmark"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
==Function: llTriggerLandmark(key landmark);==
{{LSL_Function
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.
|func = llTriggerLandmark(key landmark)
 
|func_id = REQUEST
== Caveats ==
|func_sleep = 5.0
* Function is automatic if teleporting to a landmark already contained within the user's inventory
|func_energy = 100.0
|sort
|func_desc = 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.
|func_footnote
|return_type
|return_text
|p1_type|p1_name|p1_desc
|p2_type|p2_name|p2_desc
|p3_type|p3_name|p3_desc
|p4_type|p4_name|p4_desc
|p5_type|p5_name|p5_desc
|p6_type|p6_name|p6_desc
|p7_type|p7_name|p7_desc
|p8_type|p8_name|p8_desc
|p9_type|p9_name|p9_desc
|p10_type|p10_name|p10_desc
|p11_type|p11_name|p11_desc
|p12_type|p12_name|p12_desc
|constants
|spec
|caveats = * 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  
* 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).
Might also require a specific permissions flag to operate.
|examples
 
|helpers
== Notes ==
|also_header
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.
|also_functions
|also_tests
|also_events
|also_articles
|also_footer
|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.
|mode
|deprecated
|location
|inventory
|permission
|negative_index
|cat1
|cat2
|cat3
|cat4
|cat5
|cat6
}}

Revision as of 11:02, 20 February 2007

Summary

Function: llTriggerLandmark(key landmark)( );
REQUEST Function ID
5.0 Forced Delay
100.0 Energy

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.

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).

All Issues ~ Search JIRA for related Bugs

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.

Deep Notes

Search JIRA for related Issues

Signature

function void llTriggerLandmark(key landmark)();