Guest User

Untitled

a guest
Dec 1st, 2018
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. key  teleportee;
  2.  
  3. default
  4. {
  5.     state_entry()
  6.     {
  7.         llSay(0, "Touch to teleport");
  8.     }
  9.  
  10.     touch_start(integer total_num)
  11.     {
  12.         teleportee = llDetectedKey(0);
  13.         llRequestPermissions(teleportee, PERMISSION_TELEPORT);
  14.     }
  15.  
  16.     run_time_permissions(integer perm)
  17.     {
  18.         if(PERMISSION_TELEPORT & perm)
  19.         {
  20.             llTeleportAgent(teleportee, "Paddocks", <0.0, 0.0, 0.0>, <0.0, 0.0, 0.0>);
  21.         }
  22.     }
  23. }
Add Comment
Please, Sign In to add comment