Difference between revisions of "LlTeleportAgentHome"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
{{Issues/SVC-212}}{{LSL_Function/avatar|avatar}}{{LSL Function
{{LSL Function
|inject-2={{Issues/SVC-212}}{{LSL_Function/avatar|avatar|sim=*}}
|func_id=158
|func_id=158
|func_sleep=5.0
|func_sleep=5.0
Line 6: Line 7:
|p1_type=key
|p1_type=key
|p1_name=avatar
|p1_name=avatar
|func_desc=Teleports '''avatar''' on owner's land to their home location without any warning, similar to a [[God Summons]] or [[death|dying]].
|func_desc=Teleports {{LSLP|avatar}} on owner's land to their home location without any warning, similar to a [[God Summons]] or [[death|dying]].
|func_footnote=The object owner must also be the land owner. If the land is deeded to a group the object will need to be deeded to the same group for this function to work.
|func_footnote=The object owner must also be the land owner. If the land is deeded to a group the object will need to be deeded to the same group for this function to work.
|spec
|spec

Revision as of 21:14, 14 June 2012

Summary

Function: llTeleportAgentHome( key avatar );

Teleports avatar on owner's land to their home location without any warning, similar to a God Summons or dying.

• key avatar avatar UUID that is in the same region

The object owner must also be the land owner. If the land is deeded to a group the object will need to be deeded to the same group for this function to work.

Caveats

  • This function causes the script to sleep for 5.0 seconds.
All Issues ~ Search JIRA for related Bugs

Examples

<lsl>default { state_entry() { llSetText("Don't touch me!", <1,0,0>, 5.0); } touch_start(integer total_number) { llTeleportAgentHome(llDetectedKey(0)); // Teleports the Agent home }

}</lsl>

Deep Notes

All Issues

~ Search JIRA for related Issues
   New Feature Request - llTeleportAgent

Signature

function void llTeleportAgentHome( key avatar );