One Click Teleporter
|
|
Gusher Castaignede
SL Builder
Join date: 8 Oct 2007
Posts: 342
|
12-22-2007 21:03
Hello all, anybody have a one click teleporter script? For example, left-click mouse button to teleport instantly, not like other teleporters where you need to right-click and select from Pie Menu...
|
|
Geuis Dassin
Filming Path creator
Join date: 3 May 2006
Posts: 565
|
12-22-2007 22:19
what you want to do is set your teleporter prim to sit on touch. So, if your teleporter is using warppos then your avatar sits, the teleporter moves, then unsits the avatar.
Alternatively, you can use llSitTarget to define your destination up to 300m away, again also setting the prim to sit on touch.
|
|
Kahiro Watanabe
Registered User
Join date: 28 Sep 2007
Posts: 572
|
12-23-2007 06:19
From: Geuis Dassin what you want to do is set your teleporter prim to sit on touch. So, if your teleporter is using warppos then your avatar sits, the teleporter moves, then unsits the avatar.
Alternatively, you can use llSitTarget to define your destination up to 300m away, again also setting the prim to sit on touch. Of course that this is only within a SIM, but to TP to another sim with only one click, as I know, is not possible.
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
12-23-2007 08:10
From: Kahiro Watanabe Of course that this is only within a SIM, but to TP to another sim with only one click, as I know, is not possible. not true.... just not as nice as the 2 click version.... works exactly the same except it uses warppos in a temp prim, instead of sit target
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
|
Gusher Castaignede
SL Builder
Join date: 8 Oct 2007
Posts: 342
|
12-23-2007 11:28
From: Geuis Dassin what you want to do is set your teleporter prim to sit on touch. So, if your teleporter is using warppos then your avatar sits, the teleporter moves, then unsits the avatar.
Alternatively, you can use llSitTarget to define your destination up to 300m away, again also setting the prim to sit on touch. Okay, thanks for the tip. It worked! The reason I prefer the one click is for newcomers to SL.....for example, we come from a real-world where elevators work by pushing a button once so when people first arrive to SL thats what they expect.
|
|
Ordinal Malaprop
really very ordinary
Join date: 9 Sep 2005
Posts: 4,607
|
12-23-2007 12:02
From: Void Singer not true.... just not as nice as the 2 click version.... works exactly the same except it uses warppos in a temp prim, instead of sit target The destination has to be a connected sim, though, so it is only useful within island groups, or on mainland continents.
_____________________
http://ordinalmalaprop.com/forum/ - visit Ordinal's Scripting Colloquium for scripting discussion with actual working BBCode!
http://ordinalmalaprop.com/engine/ - An Engine Fit For My Proceeding, my Aethernet Journal
http://www.flickr.com/groups/slgriefbuild/ - Second Life Griefbuild Digest, pictures of horrible ad griefing and land spam, and the naming of names
|
|
Aztral Aeon
Registered User
Join date: 22 Dec 2007
Posts: 34
|
12-23-2007 13:13
From: Geuis Dassin what you want to do is set your teleporter prim to sit on touch.. I'm new to this, but would this involve llRequestPermissions? Or more importantly (for a truly 'one touch teleport') can you make a) an avatar sit without any diaolgs popping up, or b) attach an without object any diaolgs popping up? thx )
|
|
Okiphia Rayna
DemonEye Benefactor
Join date: 22 Sep 2007
Posts: 2,103
|
12-23-2007 13:26
From: Kahiro Watanabe Of course that this is only within a SIM, but to TP to another sim with only one click, as I know, is not possible. using llSitPosition, you can teleport to at least part of a sim, all if its right on the border. SitPosition is relative tot he object, not to the sim. Well.. at least if you're not using an equation in there. If you put in the offsets yourself it will work fine if you use something like pos.x-targ.x then it likely wont since it goes by the sim.
_____________________
Owner of DemonEye Designs Custom Building and Landscaping Owner and Blogger, Okiphia's Life http://okiphiablog.blogspot.com/ 
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
12-23-2007 20:36
From: Aztral Aeon I'm new to this, but would this involve llRequestPermissions? Or more importantly (for a truly 'one touch teleport') can you make a) an avatar sit without any diaolgs popping up, or b) attach an without object any diaolgs popping up?
thx ) no permissions needed, since sit is a built in function... it just changes the default left click to 'sit' instead of 'touch/grab'
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
12-23-2007 20:38
From: Aztral Aeon I'm new to this, but would this involve llRequestPermissions? Or more importantly (for a truly 'one touch teleport') can you make a) an avatar sit without any diaolgs popping up, or b) attach an without object any diaolgs popping up?
thx ) no permissions needed, since sit is a built in function... it just changes the default left click to 'sit' instead of 'touch/grab' From: Ordinal Malaprop The destination has to be a connected sim, though, so it is only useful within island groups, or on mainland continents. true, that would be the time to use llMapDestination... which is a minimum of 2 clicks (on for the object to pop the map, and other to hit teleport)
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
|
Aztral Aeon
Registered User
Join date: 22 Dec 2007
Posts: 34
|
12-27-2007 23:10
From: Void Singer no permissions needed, since sit is a built in function... it just changes the default left click to 'sit' instead of 'touch/grab' Wow! nice to know. But I'm still a newb, so how would i change "touch" to "sit"?
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
12-28-2007 03:23
From: Aztral Aeon Wow! nice to know. But I'm still a newb, so how would i change "touch" to "sit"? in the object edit window, on the general tab, near the bottom there is menu labeled something like "when left clicked", change it from touch/grab to sit
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
|
Infrared Wind
Gridologist
Join date: 7 Jan 2007
Posts: 662
|
02-20-2008 06:13
From: Geuis Dassin what you want to do is set your teleporter prim to sit on touch. So, if your teleporter is using warppos then your avatar sits, the teleporter moves, then unsits the avatar.
Alternatively, you can use llSitTarget to define your destination up to 300m away, again also setting the prim to sit on touch. Damn...that's a good tip, Geuis! Sorted my teleporter out nicely. - Infrared
|