Difference between revisions of "LlTeleportAgentHome"
Jump to navigation
Jump to search
m (fixed spelling mistake) |
m |
||
Line 1: | Line 1: | ||
{{LSL Function | {{LSL_Function/avatar|avatar}}{{LSL Function | ||
|func_id=158 | |func_id=158 | ||
|func_sleep=5.0 | |func_sleep=5.0 | ||
Line 5: | Line 5: | ||
|func=llTeleportAgentHome | |func=llTeleportAgentHome | ||
|p1_type=key | |p1_type=key | ||
|p1_name= | |p1_name=avatar | ||
|func_desc=Teleports ''' | |func_desc=Teleports '''avatar''' on owner's land to their home location without any warning, similar to a [[God Summon]] or 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 | ||
|caveats | |caveats | ||
|constants | |constants | ||
|examples=<lsl> | |examples=<lsl>default | ||
default | |||
{ | { | ||
state_entry() | state_entry() |
Revision as of 16:44, 3 May 2009
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: llTeleportAgentHome( key avatar );158 | Function ID |
5.0 | Forced Delay |
100.0 | Energy |
Teleports avatar on owner's land to their home location without any warning, similar to a God Summon or dying.
• key | avatar | – | avatar UUID |
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
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>