Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Particles still generated...

BronYAurStomp Lightworker
Beep Boop Boop Bop
Join date: 11 Dec 2005
Posts: 25
12-11-2005 13:23
I copied a piece of code that creates a glow of green that flashes intermittedly around an object. I decided i didn't really like what it was doing, and deleted the script, but the effect remains! What's going on?
Ben Bacon
Registered User
Join date: 14 Jul 2005
Posts: 809
12-11-2005 13:55
Running a particle script just switches on the prim's particle system.
Even if you delete the script, the prim's particle system is still switched on.
Drop this script into the prim. It will switch off the particle system, and then delete itself.
CODE
default
{
state_entry()
{
llParticleSystem([]);
llRemoveInventory(llGetScriptName());
}
}