Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llSetPrimitiveParams()

Adam Wolfe
Registered User
Join date: 23 Dec 2004
Posts: 20
07-22-2005 20:01
Hello everyone, I had a question about this function.

I have added this function to open a door on an aircraft I am making. Anyway, if I am sitting inside the aircraft and this function is called, it makes me stand up?

How do I keep this function from forcing me to stand up?

Thank you for all your help.
Rayve Mendicant
Scripts for L$5 billion
Join date: 12 Mar 2005
Posts: 90
07-22-2005 20:05
I'm not quite sure you need to use this function to accomplish the needed task. Most of the parameters can be altered using seperate functions.

Are you editing the prim you are sitting on?
_____________________
_______________________

Rayve Mendicant
Second Evolution

"Darwin ain't got nothin' on this"
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
07-22-2005 20:15
use llSetPos or llSetRot or llSetLocalRot instead.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Adam Wolfe
Registered User
Join date: 23 Dec 2004
Posts: 20
07-22-2005 20:19
I am using the function to shrink the cockpit whildshield. So it can be like a door. So, I am using the function to set the cut of the object.. I dont know of any single functions to do this?
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
07-22-2005 20:30
Oh hmmm
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
07-22-2005 22:46
Using llSetPrimParams to change any cut, twist, hollow... pops off any avatar on the object. I don't know if this is a bug or intended behavior, but I have bug reported it becasue it's awfully limiting.
You may have to consider some other method of getting that prim out of the way.
_____________________
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
07-23-2005 01:16
it's a patch for a deadly bug from back in 1.3, where changing shape with llSetPrimitiveParams (using PRIM_TYPE) with a prim shaped in an evil way and the prim was attached or being sat on would cause the sim to crash.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Keknehv Psaltery
Hacker
Join date: 11 Apr 2005
Posts: 1,185
07-23-2005 09:41
Wow, that sounds pretty nasty (though interesting).

Any call to llSetPrimitiveParams with a PRIM_TYPE rule will cause any avatars sitting on the object to stand up, as they said.

I would suggest that instead of using that, perhaps use PRIM_SIZE, PRIM_POSITION, and PRIM_ROTATION to accomplish it. This is better that using llSetScale, llSetPos, and llSetRot because the client will receive all of the new information at once, causing a much smoother effect.
Adam Wolfe
Registered User
Join date: 23 Dec 2004
Posts: 20
07-23-2005 12:19
Thanks for the help! :)