llTeleportAgentHome
void llTeleportAgentHome(key AvatarID)Teleport agent over the owner's land to agent's home location.
Parameters
-
AvatarID(key)
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); }}This function teleports an avatar to their home location without any warning, similar to a God Summons or dying. The avatar must be on land owned by the script owner for the teleportation to work.