Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Problem with llSetPrimitiveParams

Saaz Roentgen
Minifig
Join date: 30 Aug 2003
Posts: 14
06-24-2004 09:47
I've run into a problem with llSetPrimitiveParams, and hope someone can offer some advice:

I want to have a hollow box, with the hollow shape a circle, and change the hollow % through a script. (FWIW, this is for a "factory" object that will rez other objects.)

So I use llSetPrimitiveParams([PRIM_TYPE, PRIM_TYPE_BOX, yada yada]). I realize that I can't SET the hollow shape via a script, but I was hoping that if I set the hollow shape by hand ahead of time, I could change other params and the hollow shape would remain as-is. But it seems that when I call llSetPrimitiveParams, the hollow shape resets to the default, a square.

Anyone else seen this? Got any advice for me?
I really only need 3-4 of these hollow shapes, so I suppose my current plan is to put them all in the factory and just rez the correct one.
_____________________
I would kill everyone in this room for a drop of sweet beer.
Catherine Omega
Geometry Ninja
Join date: 10 Jan 2003
Posts: 2,053
06-24-2004 16:02
Yeah, "Hollow Shape" was something that they missed when setting up llSetPrimitiveParams. The solution is to have multiple objects, as you said.
_____________________
Need scripting help? Visit the LSL Wiki!
Omega Point - Catherine Omega's Blog
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
06-24-2004 19:57
the issues with llSetPrimitiveParams annoy me; as they are ultra low priority. (i think the odds of llSetPrimitiveParams issues getting fixed are better represented as the right hand limit of zero then being an actual number)

PRIM_TYPE is a can of worms that is best to stay away from. any serious use will reveal it's issues.
_____________________
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