No Limit Teleporter
Revision as of 08:37, 13 February 2009 by Morgam Biedermann (talk | contribs) (New page: '''Simple Teleporter - No Limitation''' ---- Zero - Lag<br> You can do anything, change the code and all more... To use:<br> [+] Set stapos (end of script) to the object position (where t...)
Simple Teleporter - No Limitation
Zero - Lag
You can do anything, change the code and all more...
To use:
[+] Set stapos (end of script) to the object position (where to back when the destination is reach).
[+] Set dest (end of script) to the object destination.
- )
<lsl> //Leave that here //Script created by Morgam Biedermann vector posnow; vector stapos; rotation rotnow; teleport(vector dest) {
if(llGetPos() != dest) { llSetPos(dest); teleport(dest); } else { llUnSit(llAvatarOnSitTarget()); teleports(stapos); }
} teleports(vector dest) {
if(llGetPos() != stapos) { llSetPos(stapos); teleports(stapos); }
} default {
state_entry() { stapos = <141,19,30>; } touch_start(integer vez) { if(llDetectedKey(0) == llGetOwner()) teleport(<141,19,505>); }
}</lsl>