llTeleportAgentHome
Revision as of 12:24, 22 January 2015 by Lady Sumoku (talk | contribs) (Replaced old <LSL> block with <source lang="lsl2">)
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: llTeleportAgentHome( key avatar );5.0 | Forced Delay |
100.0 | Energy |
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 |
Generally, the object owner must also be the land owner but there is an exception for land deeded to a group for group members with the "Eject and freeze Residents on parcels" ability. See #Ownership Limitations for details.
Specification
Ownership Limitations
- If the land under the object is owned by an individual, the script must be owned by the same individual.
- If the land under the object is deeded to a group the object will need to satisfy one of the following:
- The object is deeded to the same group.
- The object owner must have "Eject and freeze Residents on parcels" ability in the group and be connected to the sim[1].
Caveats
- This function causes the script to sleep for 5.0 seconds.
Examples
default
{
state_entry()
{
// floattext is red and opaque
llSetText("Don't touch me!", <1.0, 0.0, 0.0>, 1.0);
}
touch_start(integer num_detected)
{
key id = llDetectedKey(0);
llTeleportAgentHome(id);
}
}
See Also
Functions
• | llEjectFromLand | |||
• | llTeleportAgent | |||
• | llTeleportAgentGlobalCoords |