Jump to content
  • 0

How can i make a particles script start running when someone sits on the object?


You are about to reply to a thread that has been inactive for 3486 days.

Please take a moment to consider if this thread is worth bumping.

Question

  • 0

Find yourself a full perm pose ball and take it apart.  If you look at the script, you'll see that there's a changed event that is triggered when someone sits on it.  That changed event then goes on to ask permission to animate whoever is sitting. Well, you don't want to animate someone -- you want to fire off a particle display instead.  So that's where you put the llParticleSystem function to do it.  The only other thing you need to do is look at the part of the changed event that is activated when the avatar stands up.  That's where you put the llParticleSystem([]) function to stop the particle display.

Play with it for a while.  If you still have trouble, ask in the LSL Scripting forum (http://community.secondlife.com/t5/LSL-Scripting/bd-p/LSLScripting), and post your script there to show people what you've done.

  • Like 1
Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Find yourself a full perm pose ball and take it apart.  If you look at the script, you'll see that there's a changed event that is triggered when someone sits on it.  That changed event then goes on to ask permission to animate whoever is sitting. Well, you don't want to animate someone -- you want to fire off a particle display instead.  So that's where you put the llParticleSystem function to do it.  The only other thing you need to do is look at the part of the changed event that is activated when the avatar stands up.  That's where you put the llParticleSystem([]) function to stop the particle display.

Play with it for a while.  If you still have trouble, ask in the LSL Scripting forum (http://community.secondlife.com/t5/LSL-Scripting/bd-p/LSLScripting), and post your script there to show people what you've done.

  • Like 1
Link to post
Share on other sites
You are about to reply to a thread that has been inactive for 3486 days.

Please take a moment to consider if this thread is worth bumping.

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
×
×
  • Create New...