Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Toggle Full Bright for Linked Prims

Zena Juran
Registered User
Join date: 21 Jul 2007
Posts: 473
10-23-2007 11:10
Hi Everyone,

llSetPrimitiveParams([PRIM_FULLBRIGHT, ALL_SIDES, TRUE]) will allow me to change the Full Bright feature on the root prim. How do I also change Full Bright on the linked prims without dropping a script in each prim? All help will be much appreciated! :-)
Pale Spectre
Registered User
Join date: 2 Sep 2005
Posts: 586
10-23-2007 11:46
llSetLinkPrimitiveParams(LINK_ALL_OTHERS, [PRIM_FULLBRIGHT, ALL_SIDES, TRUE]);
Zena Juran
Registered User
Join date: 21 Jul 2007
Posts: 473
Thanx Pale!
10-23-2007 11:49
I knew I was close! Thank you very much Pale! :-)
Pale Spectre
Registered User
Join date: 2 Sep 2005
Posts: 586
10-23-2007 11:52
...and the reference:



so, LINK_SET is probably what you need... not LINK_ALL_OTHERS :)
Zena Juran
Registered User
Join date: 21 Jul 2007
Posts: 473
Hmmmm...
10-23-2007 12:02
It'll take LINK_SET in the brackets: llSetPrimitiveParams([LINK_SET, PRIM_FULLBRIGHT, ALL_SIDES, TRUE]); but I get a type mismatch error when when I try it like the wiki:
llSetPrimitiveParams(LINK_SET, [PRIM_FULLBRIGHT, ALL_SIDES, TRUE]); Hmmmm... lol
Am I missing something here?
Zena Juran
Registered User
Join date: 21 Jul 2007
Posts: 473
wooo hooo!
10-23-2007 12:42
Okies... had to use llSetLinkPrimitiveParams() instead of llSetPrimitiveParams()