Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Multiple sit script

Nicola Samiam
xoxox
Join date: 22 Oct 2004
Posts: 142
11-05-2006 14:00
Hi!
I'm looking for a multiple sit script (for personal use, not commercial) that I can drop into furniture then click the furniture to change to a different pose.
I don't need a dialog, just the ability to click on the furniture to change the pose, and to be able to set the co-ordinates of each pose independently.
I've tried one of the multiple animation scripts from this forum, but it didn't work. I just want something as simple as possible.

Thanks :)
Joannah Cramer
Registered User
Join date: 12 Apr 2006
Posts: 1,539
11-05-2006 15:02
From: Nicola Samiam
to be able to set the co-ordinates of each pose independently.

The sit spot set for a prim doesn't update until a person gets up and sits again, so having separate coordinates for each pose would require at least some quite advanced trickery to pull off, am afraid... ^^;
Nicola Samiam
xoxox
Join date: 22 Oct 2004
Posts: 142
11-06-2006 05:25
Ahhh!
Thanks!
Tiarnalalon Sismondi
Registered User
Join date: 1 Jun 2006
Posts: 402
11-06-2006 06:21
easiest thing would be to use variables for everything from the sit target vector, the rotation, and the animation name. You should be able to just have it change those values when they choose the animation.

Again, however, if they are already sitting it will not update until they resit.
Llauren Mandelbrot
Twenty-Four Weeks Old.
Join date: 26 Apr 2006
Posts: 665
11-06-2006 07:26
I don`t know if it helps any, but there was a thread here recently about how to have many people sitting on different points of a large prim simultaneously, with scripted control of where the next person sits. This might be adapted as noted above to deal with poses, too/instead. See Multi-location sit script.
_____________________
  1. ninjafoo Ng Says:
    November 4th, 2006 at 7:27 am
    We all love secondlife so much and were afraid that the magic will end, nothing this good can ever last…. can it?

Senuka Harbinger
A-Life, one bit at a time
Join date: 24 Oct 2005
Posts: 491
11-06-2006 10:12
I have an adult pose-ball set that I made which alters the pose-ball's rotation/position instead of the sit-target to give the illusion that the sit-target is changing with each new animation that is playing. There is a master control panel that you set the positions with. Here's a little code snippet from the actual pose-ball:

CODE
link_message(integer sender_num, integer num, string str, key id)
{
if(str=="missionary")
{
llSetPos(<1.0,-.5,.25>);
llSetRot(llEuler2Rot(<15,0,0>);
llStartAnimation("Missionary Female 60FPS");
}
else if (str=="lotus")
{
llSetPos(<.5,0.0,.15>);
llSetRot(ZERO_ROTATION);
llStartAnimation("Lotus Female 90FPS");
}
}
_____________________
My SLExchange shop

Typos are forgiven; desecrating the english language with reckless abandon and necrophilic acts is not.


The function is working perfectly fine. It's just not working the way you wanted it to work.
Nicola Samiam
xoxox
Join date: 22 Oct 2004
Posts: 142
11-28-2006 14:45
Thanks for all the suggestions!

:)