Change font size
It is currently Fri Aug 17, 2018 7:44 am

Forum rules


{L_IMAGE}



Post a new topicPost a reply Page 1 of 1   [ 1 post ]
Author Message
 Post subject: A new teleport script
PostPosted: Fri Feb 29, 2008 9:46 am 
User avatar

Joined: Tue Feb 05, 2008 12:13 am
Posts: 24
Location: Central California
Here's a new teleport script. I don't know if it was the ResetScript or the timer event in the old script that was causing instability, but I did away with both those. This one's a bit easier to edit position, too. Here's the code:

{L_CODE}:
//Simple teleport

vector vPos = <42, 88, 71>;
vector vDest = <206, 99, 23.44>;

default {
   state_entry() {
      llSetPos(vPos);
   }

   touch_start(integer total_number) {
      llSetPos(vDest);
      llSleep(3.0);
      llSetPos(vPos);
   }
}

_________________
"...a book with no readers is not a fully effective work of art." Rudy Rucker


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 1 post ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
610nm Style by Daniel St. Jules of Gamexe.net