Jump to content
Sign in to follow this  
Pazzo Pestana

Two linksets texture change on one touch

Recommended Posts

I have 2 objects, each with its own linkset and texture change script. I would like to have them change at the same time with just one touch instead of one on each object.  Any suggestions or help would be greatly appreciated.

Grazie!

Share this post


Link to post
Share on other sites

So put a llRegionSayTo statement in the touch_start event of each script, aimed at the other object, and accompany it with a listen event in each object that listens for the message.  Put your texture change command in the touch_start event and the listen event in both objects.  That way, no matter which object you touch, the touch will change its own texture and the message it sends will change the texture of the other object.  Just be sure that you change textures with llSetLinkPrimitiveParamsFast, not with llSetTexturellSetTexture has a 0.2 second delay, which will mess up your synchronicity.

Share this post


Link to post
Share on other sites

Wow! as always, you come through!  You've made my SL a lot more enjoyable by being able to make things work!

Thanks! I can't wait to try it!

 

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...