09-09-2006 20:44
place in a prim this in a prim
CODE
default
{
state_entry()
{
llParticleSystem([
PSYS_PART_FLAGS, PSYS_PART_FOLLOW_VELOCITY_MASK,
PSYS_SRC_BURST_RATE, 1.0,
PSYS_PART_MAX_AGE, 40.0,//problem here
PSYS_SRC_BURST_SPEED_MIN, 0.02,
PSYS_SRC_BURST_SPEED_MAX, 0.02,
PSYS_SRC_PATTERN, PSYS_SRC_PATTERN_ANGLE_CONE]);
llSleep(4.0);
llParticleSystem([]);
}
}


works fine after the first compile.
do a Shift Drap Copy (not Ctrl-D) the new one left behind will not stop spawing particles
this is only becuase the PSYS_PART_MAX_AGE is over 30. and I have seem my share of poorly written scripts.

for some reason Ctrl-D does not cause this problem.

also if you put somthing in the empty list such as,
llParticleSystem([PSYS_PART_MAX_AGE, 0.0]); it will stop the particle even after a shift copy drag.

so many bugs in one bug. there is jsut somthign worng with partcles

also getting a wierd flicker of a white particle even after they are off. can't report that one yet it works and doesn't work. can't peg it down.