Difference between revisions of "Template talk:LSL Constants Attachment"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
Just curious why ATTACH_RPEC and ATTACH_LPEC are shown as depreciated?  [[User:Arcane Clawtooth|Arcane Clawtooth]] 22:24, 15 January 2008 (PST)
Just curious why ATTACH_RPEC and ATTACH_LPEC are shown as depreciated?  [[User:Arcane Clawtooth|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.
--[[User:Runay Roussel|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. -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 14:57, 10 September 2008 (PDT)


== Re: There is no zero attach point (undo by Strife) ==
== Re: There is no zero attach point (undo by Strife) ==
Line 7: Line 12:


: 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. -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 14:40, 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. -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 14:40, 10 September 2008 (PDT)
== Re: ATTACH_RPEC and ATTACH_LPEC ==
I was wondering about that myself, so I tried it out of curiosity. It still works, but left and right are reversed.
--[[User:Runay Roussel|Runay Roussel]] 14:39, 10 September 2008 (PDT)

Revision as of 14:57, 10 September 2008

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