Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llSetScale stops working?

Rejeanne Cannoli
Registered User
Join date: 5 Jul 2005
Posts: 5
03-26-2006 19:01
I have a fairly simple club lighting set, a linkset consisting of a rotating stage and four beams of light. The beams are scripted to flicker on and off at random intervals. When the beams are off they are set to 100% transparent.

Recently I modified the scripts to keep the 'off' beams from getting in the way of mouse clicks; to keep them from interfering I change their size to be very small using llSetScale(<0.1, 0.1, 0.02>;).

(I have already noted an alternative solution to this issue while browsing these forums for any reference to my problem; I'll experiment with changing the texture to a 100% transparent one.)

The problem I have noticed is that, after some time has passed (i.e. overnight), the llSetScale() call seems to stop working; that is, I am sure via debugging output that the script continues to work and the function call is made, but it has no effect. The beams of light remain frozen in size, some will be full size, some in small size, with no discernable pattern. Resetting the script does not correct the problem; the prim size remains frozen.

Thinking the random timing might somehow be a contributing factor, I set the on-off interval to a fixed 0.5 secs, with no improvement.

Before I spend a lot of time stripping out code and simplifying to find the smallest repeatable demonstration of the problem (or just switch over to transparent textures), has anyone seen llSetScale() fail like this before?
Seifert Surface
Mathematician
Join date: 14 Jun 2005
Posts: 912
03-27-2006 00:59
From: Rejeanne Cannoli
Before I spend a lot of time stripping out code and simplifying to find the smallest repeatable demonstration of the problem (or just switch over to transparent textures), has anyone seen llSetScale() fail like this before?
Yes, I've had problems with linksets and llSetScale. It doesn't have to be overnight - just do setscale enough times and the linkset seems to freeze up. I bug reported it. Separate prims rather than a single linkset work fine.
_____________________
-Seifert Surface
2G!tGLf 2nLt9cG