Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Generate Sit or Touch command?

Wezza Writer
Registered User
Join date: 9 Jun 2009
Posts: 59
09-08-2009 03:35
Is it to use a script to automate a sit/touch to an object?
Dora Gustafson
Registered User
Join date: 13 Mar 2007
Posts: 779
09-08-2009 03:57
http://wiki.secondlife.com/wiki/LlSetClickAction
should cover your question:)
_____________________
From Studio Dora
EF Klaar
Registered User
Join date: 11 Jun 2007
Posts: 330
09-08-2009 05:14
And at the bottom of the edit box on the general tab is a setting for that too if you don't need a script.
Wezza Writer
Registered User
Join date: 9 Jun 2009
Posts: 59
09-09-2009 01:03
I mean an object (A) to redirect avatar to touch/sit on another object (B), which A and B are not linked.
Dekka Raymaker
thinking very hard
Join date: 4 Feb 2007
Posts: 3,898
09-09-2009 01:08
how far apart are objects A & B this would have some bearing on the answer, are they close like under 10 meters or further apart on two different parts of a sim?
Wezza Writer
Registered User
Join date: 9 Jun 2009
Posts: 59
09-09-2009 01:36
From: Dekka Raymaker
how far apart are objects A & B this would have some bearing on the answer, are they close like under 10 meters or further apart on two different parts of a sim?



Could be close, but could also be as far as more 200meter. Does the distance really makes the different? I was hoping there's a function that can just take a pos(vector) and do a touch/sit.
EF Klaar
Registered User
Join date: 11 Jun 2007
Posts: 330
09-09-2009 02:41
From: Wezza Writer
I mean an object (A) to redirect avatar to touch/sit on another object (B), which A and B are not linked.
You could use llSitTarget, so that when an avatar sits on object A the sit position is offset from object A to make it look like they are sitting on object B.
Dekka Raymaker
thinking very hard
Join date: 4 Feb 2007
Posts: 3,898
09-09-2009 06:51
From: Wezza Writer
Could be close, but could also be as far as more 200meter. Does the distance really makes the different? I was hoping there's a function that can just take a pos(vector) and do a touch/sit.

I'm not a scripter, I just asked the question to help you get the answer you need, all I know is that some move script functions are limited to 10 meters.
Destiny Niles
Registered User
Join date: 23 Aug 2006
Posts: 949
09-09-2009 08:09
From: Wezza Writer
Could be close, but could also be as far as more 200meter. Does the distance really makes the different? I was hoping there's a function that can just take a pos(vector) and do a touch/sit.

The sit offset can be 300 meters from the object.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
09-09-2009 13:31
From: Destiny Niles
The sit offset can be 300 meters from the object.

519m and change if you use corner orientation
_____________________
|
| . "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...
| -
Indeterminate Schism
Registered User
Join date: 24 May 2008
Posts: 236
09-09-2009 20:25
No, it is not possible for a script to make an avatar sit on or touch another object. However, if both objects are scripted by you then you can send a message to the second object telling it to 'pretend' it's been touched - ie; it is not a problem to create remote-control devices. You can do the same for sit but it is generally less useful. The answers above tell you how to make it 'look' as if someone is sitting on a remote object.