Page 1 of 2

Sit Script that works with short and tall avatars?

Posted: Fri Apr 15, 2022 11:56 am
by Lunk Portal
Hey everyone, I am having a pain...

I have short characters and tall characters, I need a sit script that works for both.

Either the tall have their backs too far past the back rest, or the short are sitting in mid-air in front of the seat.

Does anyone have a decent sit that works for both?

THANKS!

Re: Sit Script that works with short and tall avatars?

Posted: Wed May 11, 2022 4:20 pm
by Lunk Portal
still nothing?

It's a little frustrating because I have short and tall avatars, but they cannot sit in the same chair because the poseball can only be set for one height of avatar...

Is there a way to do something like;

if avatar < 5feet then position x2
otherwise position x1

Any suggestions?

Re: Sit Script that works with short and tall avatars?

Posted: Wed May 11, 2022 4:33 pm
by Graham Mills

Re: Sit Script that works with short and tall avatars?

Posted: Wed May 11, 2022 4:34 pm
by Scurvy Ragu 2
Who knows what Missing collision sound: ffffffff-ffff-ffff-ffff-ffffffffffff is? When im getting an error trying to make a product in the market?

Re: Sit Script that works with short and tall avatars?

Posted: Wed May 11, 2022 5:48 pm
by Graham Mills
I really don't know much about sits but a quick look suggests that you can't set the sit target once you have a sitting avatar so you have to adopt a two-touch approach, first touch to set the target depending on avatar height, second to actually sit.

The second example on this page might work. I changed 0.65 to 0.15. https://wiki.secondlife.com/wiki/LlSitTarget
Graham Mills wrote:
Wed May 11, 2022 4:33 pm
Probably. See https://wiki.secondlife.com/wiki/LlGetAgentSize

Re: Sit Script that works with short and tall avatars?

Posted: Wed May 11, 2022 6:30 pm
by Scurvy Ragu 2
whats collision sound: ffffffff-ffff-ffff-ffff-ffffffffffff

Re: Sit Script that works with short and tall avatars?

Posted: Wed May 11, 2022 7:35 pm
by Graham Mills
Scurvy Ragu 2 wrote:
Wed May 11, 2022 6:30 pm
whats collision sound: ffffffff-ffff-ffff-ffff-ffffffffffff
It's the sound you hear when you accidentally sit on a tiny. :lol:

Re: Sit Script that works with short and tall avatars?

Posted: Wed May 11, 2022 7:41 pm
by Lunk Portal
Graham Mills wrote:
Wed May 11, 2022 7:35 pm
Scurvy Ragu 2 wrote:
Wed May 11, 2022 6:30 pm
whats collision sound: ffffffff-ffff-ffff-ffff-ffffffffffff
It's the sound you hear when you accidentally sit on a tiny. :lol:
LOL... that's a Jawa letting his air out.

What's probably happening is you are uploading something with a script referencing a collision sound UUID that is not present in your build. Either change the script reference or add the audio it is referencing.

Re: Sit Script that works with short and tall avatars?

Posted: Wed May 18, 2022 10:30 am
by Lunk Portal
It's the AO not allowing the proper sit position, ha ha... you would think after all these years doing this I would remember that. I need a snippet of code to override the override people wear LOL

Re: Sit Script that works with short and tall avatars?

Posted: Wed May 18, 2022 6:12 pm
by Graham Mills
I may be mistaken but I suspect the onus is on the avatar to turn their AO off under such circumstances. I doubt there's a generally applicable solution of the kind you seek.