Jump to content
  • 0

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


Raul Crimson
 Share

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

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

Question

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 comment
Share on other sites

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...