Jump to content
Sign in to follow this  
Asylum Gearhead

I am having trouble witha particle script.....

Recommended Posts

I'm using the 'Chain' script from the particle labratory and I can't figure out how to use it........... I tried asking Jopsy (I prolly spelled his name wrong) and he was too busy to really help me........ anyone who can give me a hint to what I am doing wrong I would be grateful.

Share this post


Link to post
Share on other sites

Well a "chain" script or any particle script designed to create what appear to be a physical link between two prims is implemented using the particle system as a projector object and a target object. The script is placed in the projector object and it fires the particles. That script is then given the UUID of the target object so that all its particles will travel towards the target prim. Look for PSYS_SRC_TARGET_KEY and that is where the target prim's UUID goes.

Share this post


Link to post
Share on other sites

The secret to the chain particle is that you have to have the UUID of the target item in the script.  Then the particle can be drawn from the origin prim to the target prim.  Most systems like CuffMeister and the like have scripts in the cuffs and targets that allow them to tell each other what UUID to throw particles to. 

 

use this to find the UUID of your experimental target anytime you touch it so you can slap that key into your experimental generator

 

touch_start(integer num)

{

llSay(0,"uuid = "+(string)llGetKey());

}

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...