Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Can you left click to teleport?

Esch Snoats
Artist, Head Minion
Join date: 2 May 2006
Posts: 261
05-30-2007 20:52
I have a teleport script that you have to right click to teleport. Is there a script out there or a command I can use in my existing script to where you can left click teleport? I'm creating an immersive interactive art piece where you go through it with mouselook, and there's one point they have to teleport to a new spot, but you have to go out of mouse look to right click it to tel. I would really really love it if they can left click the object in mouselook. Any help is appreciated, thanks!!!!

E
AJ DaSilva
woz ere
Join date: 15 Jun 2005
Posts: 1,993
05-30-2007 21:05
Build > More > Default Click Action

EDIT: Never tested to see if it works in mouselook, let me know.
Esch Snoats
Artist, Head Minion
Join date: 2 May 2006
Posts: 261
05-30-2007 22:42
Well I went in and the only options available for this were: Touch/Grab (default), Sit On Object, Buy Object, Pay Object, and Open for the "When Left Clicked" pull down. It's already set to the first one, so this won't work because it needs to trigger the teleport script inside.

E
Deanna Trollop
BZ Enterprises
Join date: 30 Jan 2006
Posts: 671
05-31-2007 00:03
From: Esch Snoats
Sit On Object
That's the one.
Squirrel Wood
Nuteater. Beware!
Join date: 14 Jun 2006
Posts: 471
05-31-2007 00:16
Use Sit on object as default click action and put a script in that object which has a sit target defined that immediately moves the clicking user to the target coordinates. The script should also immediately "unsit" the avatar after they have sat down. You can define the sit target to be up to 300m away from the object that is being sat on.
Esch Snoats
Artist, Head Minion
Join date: 2 May 2006
Posts: 261
05-31-2007 06:51
Sweet, this works great, just not in mouselook, doh.
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
05-31-2007 07:47
It is actually supposed to, but they have fubared the mouselook crosshairs in recent updates such that a lot of the functionality doesn't work with clicking. It will still trigger touch events, though, but won't sit, and using Alt doesn't give the grab/touch hand anymore, but the zoom cursor instead (which is useless in ML).
Esch Snoats
Artist, Head Minion
Join date: 2 May 2006
Posts: 261
05-31-2007 08:46
Is there a workaround for these bugs then?