The closest I got so far was this script I found, a freebie I guess:
// Touch the object to light it up.
// Lighting is configurable.
integer light_s = TRUE;
vector lightcolor = <1.0, 1.0, 1.0>;
float intensity = 1.0; // 0-1
float radius = 10.0; // 0-10
float falloff = 0.75; // 0-1
float glow = 0.01;
switchit()
{
float thisglow = 0.0;
light_s = !light_s;
if (light_s)
{
thisglow = glow;
}
llSetPrimitiveParams([
PRIM_POINT_LIGHT, light_s, lightcolor, intensity, radius, falloff,
PRIM_FULLBRIGHT, ALL_SIDES, light_s,
PRIM_GLOW, ALL_SIDES, thisglow
]);
llSetColor(lightcolor, ALL_SIDES);
}
default
{
state_entry()
{
llSetText(" ",<0,0,0>,1);
switchit();
}
touch_start(integer total_number)
{
switchit();
}
}
//
That script is allowing the prim to go fullbright, and turning on the lightsource for the prim it is in. Figuring out how to disable the fullbright, and broadcast that to a child script in the rest of the prims is where I am at :\