Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llSetPrimitiveParams issues

Keith Richter
Registered User
Join date: 27 Jan 2007
Posts: 21
10-13-2008 12:29
So i'm using it to work with lighting effects and here is what i'm using:
llSetPrimitiveParams(PRIM_GLOW, ALL_SIDES,1);
llSetPrimitiveParams(PRIM_FULLBRIGHT,ALL_SIDES, TRUE);
and i'm getting Function call mismatches type or number of arguments.

i'm sure theres a really simple reason for why I cant make this work but i've been looking at the lsl wiki and adding numbers and changing things but to no avail. help?

while we're here i'm also trying to make it cycle through commands as i touch it, if anyone has a method other then using 'if' and 'else' that'd be cool.
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
10-13-2008 12:36
Try this instead:

llSetPrimitiveParams([PRIM_GLOW, ALL_SIDES, 1]);
llSetPrimitiveParams([PRIM_FULLBRIGHT, ALL_SIDES, TRUE]);

Or..
llSetPrimitiveParams([PRIM_GLOW, ALL_SIDES, 1, PRIM_FULLBRIGHT, ALL_SIDES, TRUE]);
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
10-13-2008 12:57
yeah, llSetPrimitiveParams needs a list of params, any function that asks for a list needs these 2 characters, []
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369