iCade Posted December 4, 2012 Share Posted December 4, 2012 I was wondering if someone could point me to a teleport script on the MP for my prefab buildings. The build I just finished has 2 floors, but due to it being a small store, I didn't place stairs, hence my need for a tp script that tp's the avatar up and down upon clicking the up and down triangle prims I placed.I have been searching the mp for the past two hours, and thus far I have only found scripts where you need to input co-ordinates or landmarks. Since it's a prefab build my costumers will rez it anywhere they please so that won't work right?I'm not sure I understand all due to language differencies but if someone could point me toward the script I need I would be really greatful. Link to comment Share on other sites More sharing options...
Ciaran Laval Posted December 4, 2012 Share Posted December 4, 2012 I've used this one in the past: https://marketplace.secondlife.com/p/Teleport-device-TP/585005 Make sure it's the builder's version. However if you want to get creative, look at: http://wiki.secondlife.com/wiki/Category:LSL_Teleport llSit was how I used to do it: http://wiki.secondlife.com/wiki/Category:LSL_Sit/Teleport You fake a teleport via that method, worth a look, it's fun to test and play around with. Link to comment Share on other sites More sharing options...
iCade Posted December 4, 2012 Author Share Posted December 4, 2012 Ciaran Laval wrote: I've used this one in the past: https://marketplace.secondlife.com/p/Teleport-device-TP/585005 Make sure it's the builder's version. However if you want to get creative, look at: http://wiki.secondlife.com/wiki/Category:LSL_Teleport llSit was how I used to do it: http://wiki.secondlife.com/wiki/Category:LSL_Sit/Teleport You fake a teleport via that method, worth a look, it's fun to test and play around with. Thank you for the quick response! I did find that MP listing as well, but I stumbled upon this review: Nice for the money Posted June 27, 2011 by Tondy Treves 4 stars They look great, work great...as long as you don't move your house. Since you plug in the coordinates of where you want them...I'm guessing you have to change the script each time you move. Since moving the house, TPing now takes me to random points on the lawn. Keep that in mind and you'll have a good product for little money! It made me believe they don't work for my prefabs? Link to comment Share on other sites More sharing options...
Ciaran Laval Posted December 4, 2012 Share Posted December 4, 2012 I used that one on prefabs, that's why I bought it but then when I got more into scripting I realised there are other choices. That one should allow you to set it up once a build is rezzed, I can't remember exactly what you had to do but it seemed to work for my testing. Link to comment Share on other sites More sharing options...
Rufus Darkfold Posted December 4, 2012 Share Posted December 4, 2012 if you want something more like an elevator (with realistic motion rather than instantaneous), look at llSetKeyframedMotion. Link to comment Share on other sites More sharing options...
Innula Zenovka Posted December 4, 2012 Share Posted December 4, 2012 If it's only 10 meters I would use a simple Sit Target teleport, since that is local to the prim. Try something like this default{ state_entry() { llSitTarget(<1.0,0.0,10.0>,llGetRot());//1 metre in front of me and 10 metres above me llSetClickAction(CLICK_ACTION_SIT); } changed(integer change){ if(change & CHANGED_LINK){ key k = llAvatarOnSitTarget(); if(k){ llRequestPermissions(k,PERMISSION_TRIGGER_ANIMATION); } } } run_time_permissions(integer p){ if(p & PERMISSION_TRIGGER_ANIMATION){ llStartAnimation("stand"); llStopAnimation("sit"); llUnSit(llAvatarOnSitTarget()); } } } So long as the prims aren't moved about within the build after purchase, that should do the trick. 2 Link to comment Share on other sites More sharing options...
Xiija Posted December 5, 2012 Share Posted December 5, 2012 https://marketplace.secondlife.com/p/VA-Devices-Teleporter/1934942 Free, Easy, Copiable...they auto link with each other Link to comment Share on other sites More sharing options...
iCade Posted December 5, 2012 Author Share Posted December 5, 2012 Xiija wrote: https://marketplace.secondlife.com/p/VA-Devices-Teleporter/1934942 Free, Easy, Copiable...they auto link with each other Thank you, but as I stated, these are for prefab buildings I built and want to sell, as such, it would need to be full perms, your linked tp's are neither mod, nor transfer, so I can't use them for what I intend. But thank you. And thank you to Innula, you were a wonderful help and I managed to figure it out,thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now