|
Maihem Randt
NEXUS-6 N6FAB21416
Join date: 22 Aug 2007
Posts: 108
|
09-08-2008 17:02
I have a feeling it isnt possible but....
I am building a single object spaceship, just under 200 prims in total, it flies using multimove and i would like to incorporate a TP system for between deck movement.
right now the system i have in place requires that i re set the teleports so they can tell the server where they are after the ship moves. so my question... is there a better way? is it possible to script a TP system that can deal with this sort of thing?
|
|
Malina Chuwen
Evotive
Join date: 25 Apr 2008
Posts: 502
|
09-08-2008 18:14
I had a TP system, believe from SLX, awhile ago that would Teleport the user depending on how many meters away it is. This one wouldn't be affected by movement, but I don't have the link anymore.
Not sure of another way or how to re-make it, but perhaps checking around? It'd be a freebie TP system.
_____________________
-- Please do not PM =) Average wait time for me to notice can be up to a week in some cases, lol. IM/Notecard in game. I do have PMs on but prefer in game.
|
|
Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
|
09-08-2008 19:07
A sit target is probably the way to go == see teleport hack in the following... http://www.lslwiki.net/lslwiki/wakka.php?wakka=llSitTarget
_____________________
http://slurl.com/secondlife/Together
|
|
Maihem Randt
NEXUS-6 N6FAB21416
Join date: 22 Aug 2007
Posts: 108
|
09-08-2008 19:21
wow! that looks promising. i'm going to give that a try, wish me luck, i've never scripted anything more complicated than a.. oh wait.. i've never scripted anything before?? but i feel pretty confident for some reason!
|
|
Maihem Randt
NEXUS-6 N6FAB21416
Join date: 22 Aug 2007
Posts: 108
|
09-09-2008 10:49
so far so good, but i have had no luck adding an unsit command so far this is what i am working with if anyone can offer a sugestion
default { state_entry() { llSitTarget(<0.0,0.0,10.0>, ZERO_ROTATION); } }
|
|
Beverly Ultsch
Registered User
Join date: 6 Sep 2007
Posts: 229
|
09-09-2008 12:23
You need a changed event, try this
default { state_entry() { llSitTarget(<0.0,0.0,10.0>, ZERO_ROTATION); }
changed(integer change) { if (change & CHANGED_LINK) { key user = llAvatarOnSitTarget(); if (user) llUnSit(user); } } }
|
|
Maihem Randt
NEXUS-6 N6FAB21416
Join date: 22 Aug 2007
Posts: 108
|
09-09-2008 14:36
thanks very much, i will give that a try when i get home from work 
|
|
Maihem Randt
NEXUS-6 N6FAB21416
Join date: 22 Aug 2007
Posts: 108
|
09-10-2008 15:11
that worked perfectly thank you all who posted 
|