Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Getting llSetPrimitiveParams error running rule with ALL_SIDES

Jeko Snook
Registered User
Join date: 15 Aug 2008
Posts: 2
09-01-2009 00:18
Hello all,

I really hope i choose the right place to post this - if not, I'm sorry for that :)

I'm getting this error:
From: someone

llSetPrimitiveParams error running rule #3: non-integer rule.


While index # 3 seems to me to be ALL_SIDES, this is the underlying code:
From: someone
origProperties = [PRIM_SIZE, llGetScale(),
PRIM_COLOR, ALL_SIDES, llGetColor(ALL_SIDES),
PRIM_ROTATION, llGetRot()];
// and later on...
llSetPrimitiveParams(origProperties);

But isn't ALL_SIDES an integer constant? I'm very confused about this as well as I don't have any idea what to do about it. Am I doing something wrong?

thanks in advance,

Jeko
EF Klaar
Registered User
Join date: 11 Jun 2007
Posts: 330
09-01-2009 00:37
[ PRIM_COLOR, integer face, vector color, float alpha ]
I think the message may be referring to rule 3 of the PRIM_COLOR property: you do not specify the float alpha, and it finds the integer PRIM_ROTATION there instead.
Jeko Snook
Registered User
Join date: 15 Aug 2008
Posts: 2
09-01-2009 13:27
Hello EF Klaar,

please allow me to call you a Genius and me an Idiot. Of course, you're right! :)

Thank you very much!

Jeko