Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Full Bright on Timer

bargain Walcott
Registered User
Join date: 31 Oct 2005
Posts: 248
02-09-2007 14:30
Can anyone tell me what I'm doing wrong here?

Trying to get fullbright to go on and off with an event timer.

default
{
state_entry()
{
llSetTimerEvent(1.0);
}

timer()
{
[PRIM_FULLBRIGHT, ALL_SIDES, TRUE];
}
}
Pale Spectre
Registered User
Join date: 2 Sep 2005
Posts: 586
02-09-2007 14:37
You need llSetPrimitiveParams, so...

llSetPrimitiveParams([PRIM_FULLBRIGHT, ALL_SIDES, TRUE]);

...switches fullbright on, and...

llSetPrimitiveParams([PRIM_FULLBRIGHT, ALL_SIDES, FALSE]);

...switches it off.
bargain Walcott
Registered User
Join date: 31 Oct 2005
Posts: 248
02-09-2007 14:46
llSetPrimitiveParams

That's what I was missing --- Thanks a BUNCH Pale Spectre :)
bargain Walcott
Registered User
Join date: 31 Oct 2005
Posts: 248
02-09-2007 17:54
Just noticed this only works 1 side of the prim. How can i adjust it so it works on all sides?
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
02-10-2007 02:56
ALL_SIDES should set all sides in one go, if you only want a specific side you use the side number.


If its not working correctly then I would guess its a serious bug!
bargain Walcott
Registered User
Join date: 31 Oct 2005
Posts: 248
02-10-2007 11:23
Yes, I agree, ALL_SIDES should be just that but it isn't for some reason? Only 1 side works. I tried it on several different objects with the same results. I also tried taking them into inventory and back out but still the same result.

I can live with this for now. Maybe it is an sl bug as you said?

Anyway TY for all the help :)
bargain Walcott
Registered User
Join date: 31 Oct 2005
Posts: 248
02-10-2007 11:26
LOL....Update on this.

Today I tried it and now all sides work but 1, lmao.

Gotta be SL!