Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

change sit with llSitTarget

Kaylan Draken
Registered User
Join date: 2 Dec 2006
Posts: 127
03-15-2007 13:06
i have made a pillow with 6 different animations.
Everytime i sit the script choice at random 1 of the 6 animations to
be active. This works all well.

Now i want to change animation while i am sitting without standing up.

the question is, is it posible to change animation while i am
sitting on the pillow using llSitTarget?

stopanimation and startanimation alone doesn't work because every animation
has a different position (thats why i need to use llSitTarget).
Tiarnalalon Sismondi
Registered User
Join date: 1 Jun 2006
Posts: 402
03-15-2007 13:39
The short answer to your question is no, you cannot change a sit target after an avatar has already seated and have it move them.

The long answer is that you could, and this is the ONLY kind of thing I advocate a poseball for, use a poseball that moves in some fashion to create this effect. Tho I'm not fully sure it will work if the poseball is linked as I haven't tested this kind of thing before and do not use poseballs :)
Kaylan Draken
Registered User
Join date: 2 Dec 2006
Posts: 127
03-15-2007 13:59
thanks for the quick answer.

i thnik i can better make some animations with the same positions that will
be easier.
Gaius Goodliffe
Dreamsmith
Join date: 15 Jan 2006
Posts: 116
03-15-2007 15:40
From: Tiarnalalon Sismondi
The long answer is that you could, and this is the ONLY kind of thing I advocate a poseball for, use a poseball that moves in some fashion to create this effect. Tho I'm not fully sure it will work if the poseball is linked as I haven't tested this kind of thing before and do not use poseballs :)

It doesn't, or at least didn't last time I tried it. Once avatars are seated, they only seem to move with the root prim -- a linked prim moving won't take the avatar with it even if that was the prim with the sit target. :(
Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
03-15-2007 15:53
Right. The only way to move a seated avatar is if they're sitting on a root prim and you physically move that prim. That's the way a lot of those multi-pose systems are setup...they will rezz a pose-ball that is unlinked and change it's position when you change poses. Also, with recognition of a control input, you can make it easy to edit and save the sit position by using arrow keys to slide the ball around and get it just perfect.
_____________________
--AeonVox--

Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music.