Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Auto-unsitting?

Hg Beeks
llGetElement(80);
Join date: 13 Apr 2006
Posts: 134
05-19-2007 15:50
I recently figured that incorporating a chair into a device of mine, and taking the user's controls would be more prim efficient than the current system (Touch buttons). The system was working, I got to the point where all the prims were linked up correctly again, and I was sitting right. Then I got unsat.
At first I though I might've hit the "Stand Up" button. But as it turns out, it seems that the llSetPrimitiveParams unsits the user automatically..? I've muddled with !Meta's Elemental vehicle, and it changes FAR more than my prims do (Mine is a simple texture change, nothing more), yet you can sit in it and not get thrown out when it transforms. Am I missing something? A "Don't throw people out of the seat" option somewhere?
Senuka Harbinger
A-Life, one bit at a time
Join date: 24 Oct 2005
Posts: 491
05-20-2007 01:14
Did you try defining a sit target? that may fix the issue.
_____________________
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.
Hg Beeks
llGetElement(80);
Join date: 13 Apr 2006
Posts: 134
05-20-2007 02:38
I have the sit target, thus the point of the chair.
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
05-20-2007 08:16
Some prim params set will cause any sitting avatar(s) to stand up. PRIM_TYPE being the most notable. Have not heard of a situation where PRIM_TEXTURE causes that, though. Have you tried llSetTexture() instead?

You might try using a tiny invisible linked prim with the Sit Target in it instead, too.
Hg Beeks
llGetElement(80);
Join date: 13 Apr 2006
Posts: 134
05-20-2007 09:46
I thought about that, but the problem lies in the fact that the only way to resize or reposition the texture is in llSetPrimitiveParams(). Since the two screens on the machine rely solely on moving and resizing textures, I have no choice but to use it.