deanimo Posted April 19, 2011 Share Posted April 19, 2011 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... Link to comment Share on other sites More sharing options...
Darkie Minotaur Posted April 19, 2011 Share Posted April 19, 2011 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. Link to comment Share on other sites More sharing options...
Ixia Posted April 19, 2011 Share Posted April 19, 2011 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 Link to comment Share on other sites More sharing options...
Void Singer Posted April 19, 2011 Share Posted April 19, 2011 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.