Template talk:LSL Constants Attachment

From Second Life Wiki
Revision as of 13:58, 10 September 2008 by Strife Onizuka (Talk | contribs)

Jump to: navigation, search

Just curious why ATTACH_RPEC and ATTACH_LPEC are shown as depreciated? Arcane Clawtooth 22:24, 15 January 2008 (PST)

I was wondering about that myself, so I tried it out of curiosity. It still works, but left and right are reversed. --Runay Roussel 14:39, 10 September 2008 (PDT)

It's a long standing bug in the compiler, the constant names can't be swapped now because they have become lavaflowed (and changing them would break code when it is recompiled, likewise the client can't be changed either). The correct solution is to have two new constants created and the old names removed from the highlighter (but not the compiler). Anyway it hasn't happened yet. If it were depreciated it would be explicitly marked that way. -- Strife (talk|contribs) 14:57, 10 September 2008 (PDT)

Re: There is no zero attach point (undo by Strife)

Yes you are right, there is no zero attach point. Like I said, when using 0 (zero) as a parameter, the object will be attached to the most recent attach point. In other words, 0 (zero) is the functional equivalent of "Wear" in the user interface. --Runay Roussel 14:30, 10 September 2008 (PDT)

ooooh... that makes sense. That should be in the function notes for llAttachToAvatar not in this table (which is shared with llGetAttached). I'll make it so. -- Strife (talk|contribs) 14:40, 10 September 2008 (PDT)