Jump to content
  • 0
MIVIMEX

why particles remain if script deleted

Question

5 answers to this question

Recommended Posts

  • 0

Particles are a prim property, like texture rotation and hovertext are. The script just sets that property.

To remove particles you need to put this scrubber into the object...

default
{
    state_entry()
    {
  		llParticleSystem( [] );
	}
}

 

  • Like 6

Share this post


Link to post
Share on other sites
  • 0
9 hours ago, Ethan Paslong said:

 

9 hours ago, Callum Meriman said:

Particles are a prim property, like texture rotation and hovertext are. The script just sets that property.

To remove particles you need to put this scrubber into the object...


default
{
    state_entry()
    {
  		llParticleSystem( [] );
	}
}

 

thank you, i know how to remove them. im just curious why? why they remain if script deleted? 

Share this post


Link to post
Share on other sites
  • 0

Because, as Callum explained, they are properties of the prim that they are in, not properties of a script.  Particles and hover text, prim point light,  and several other properties can only be switched ON/OFF with a script, but do not require a script to persist.  The script is just a switch.  Once it has done its job, you may remove it.

Edited by Rolig Loon
  • Like 3
  • Thanks 1

Share this post


Link to post
Share on other sites
  • 0

Prims have properties. You can make a prim blue. Color is a property. We set color via the Build Editor or a script. Once the color is set, it remains until changed. Particles and Hover Text are also properties of prims and thus remain until changed.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×