Talk:LlSetLinkPrimitiveParams

From Second Life Wiki
Jump to navigation Jump to search

I've been having problems when working with faces of linked prims. The first set appears to apply itself, and any other face used in the sets when you only specify 1 face, and another set is after it. (ie, the following code will color face 0 and 2 red)

   llSetLinkPrimitiveParams(link, [
       PRIM_COLOR, 0, <1,0,0>, 1,
       PRIM_TEXTURE, 2, "Tech.jpg", <1,1,0>, <0,0,0>, 0
       ]);

--Dedric Mauriac 18:32, 25 December 2007 (PST)

This is a known bug (well, in llSetPrimitiveParams(), but it's not surprising that it's here also). See http://jira.secondlife.com/browse/SVC-38 -- Dale Innis 05:50, 14 February 2008 (PST)

would like to add this to caveats but the edit is too complex.

PRIM_POSITION, llSetLinkPrimitiveParams expects a local position, relative to the location of the root prim.

see SVC-3216

Syn Short 13:42, 11 October 2008 (PDT)

I've made the change you wanted, please see: llSetLinkPrimitiveParams#Caveats-PRIM_POSITION, the actual text for the caveat resides in the code of PRIM_POSITION. -- Strife (talk|contribs) 15:16, 11 October 2008 (PDT)

PRIM_TYPE_CYLINDER > vector slice?

Any idea if and when this with happen? -- Eddy (talk|contribs) 05:21, 6 July 2009 (UTC)

This reminds me of an old joke about hell being exothermic or endothermic. We probably won't get it until all hell freezes over... -- Strife (talk|contribs) 11:55, 6 July 2009 (UTC)

That's far sighted of LL. NOT. Meaning that if one uses the function to adjust a prim with slice set it resets the slice to zero (I have learned this the hard way). Should that be mentioned in the caveats? Not looking forward the the cold snap. Still waiting for Zoom control for camera in lsl too. Can't help but want to set the Link number to number(S) as well here. Eg. (4 | 5 | 6,[]). Ah yes also I was going to add a note about the float for hole size being between 0.0 and 1.0 not 0.0 and 100.0 but didn't know quite where to put it. -- Eddy (talk|contribs) 12:06, 6 July 2009 (UTC)

I'm not seeing any problems with the hole_size. Try purging the page and seeing if that helps. -- Strife (talk|contribs) 16:55, 6 July 2009 (UTC)

Ah yes. I see the hollow (hole size) limits are in the floating text. I didn't notice it there before. Is there a way to pick a particular set of link numbers with this function? Other than the likes of LINK_ROOT and LINK_ALL_CHILDREN etc. -- Eddy (talk|contribs) 02:35, 7 July 2009 (UTC)

How does one edit a page like this?

I was going to add a couple of things including the above mentioned slice caveat but cannot figure out how to edit the page. Where is all the writing? Incidentally there is a jira requesting support of slice in lsl MISC-2847 (Although I know you know this Strife, others reading this may not have known). -- Eddy (talk|contribs) 12:27, 6 July 2009 (UTC)

The page gets all of it's content from the PRIM_* articles and related templates (transclusion ad nauseum). If you want to do that, create Template:Issues/MISC-2847 and include it near the top of PRIM_TYPE_BOX (be sure it gets in the include section or it won't get carried over to the others articles). Just be very careful; because of the extensive use of transclusion the PrimitiveParams articles are quite heavy when it comes to CPU time. -- Strife (talk|contribs) 15:42, 6 July 2009 (UTC)