Difference between revisions of "LlTeleportAgentHome"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
|caveats | |caveats | ||
|constants | |constants | ||
|examples | |examples=<pre> | ||
// by Cory Bjornson | |||
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 | |||
} | |||
} | |||
</pre> | |||
|helpers | |helpers | ||
|also_functions | |also_functions |
Revision as of 18:38, 11 October 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: llTeleportAgentHome( key agent );158 | Function ID |
5.0 | Forced Delay |
100.0 | Energy |
Teleports agent on owner's land to their home location without any warning, similar to a God Summon or dieing.
• key | agent |
Caveats
Examples
// by Cory Bjornson 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 } }