Jump to content
Sign in to follow this  
deanimo

LlSetLinkTexture to multiple custom childs?

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

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

Recommended Posts

Any one knows if there r any way to set a link texture to custom number of child prims? for example 4 5 6 9 15 and 20, i tried:

 llSetLinkTexture([4,5,6,9,15], "texture", ALL_SIDES);

and dont works.. sure exist a sintaxys for it...

 

Share this post


Link to post
Share on other sites

Well, there is ;) - but you will have to loop through your list of prims. A call to llSetLinkTexture can only take exactly one prim or one of the flags - not a list of link numbers.

Share this post


Link to post
Share on other sites

You need a loop, and if you want it to go faster (because each call of llSetLinkTexture has a 0.2 seconds delay) you should take a look at llGetLinkPrimitiveParams and llSetLinkPrimitiveParamsFast with PRIM_TEXTURE

Share this post


Link to post
Share on other sites

sadly no, you can't do it that way... but there is a feature request on file with fairly high priority  to do just that...

untill then, you'll have to use the method mentioned above.

Share this post


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

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

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