Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

whatz the order of linking

Varun Blitz
Registered User
Join date: 22 May 2008
Posts: 62
06-03-2008 23:50
i know that the object selected in the end is the root.
but i tried with three object say 1,2,3
when i touch 1 it becomes child of 2
then when i touch 2 it becomes child of 3 and since 1 is already its child this works fine
if i now unlink 3 i get back the parent child relation between 1 and 2

but when i touch 2 first it becomes child of 3
now when i touch 1 it becomes child of 3 but parent of 2, whyz that so ??
Squirrel Wood
Nuteater. Beware!
Join date: 14 Jun 2006
Posts: 471
06-04-2008 00:05
42.
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
06-04-2008 00:21
Want to save yourself a lot of headaches? Name your prims, then you can find their link numbers at runtime with llGetLinkName.
_____________________
Varun Blitz
Registered User
Join date: 22 May 2008
Posts: 62
06-04-2008 00:26
From: Viktoria Dovgal
Want to save yourself a lot of headaches? Name your prims, then you can find their link numbers at runtime with llGetLinkName.


that i already did, but i just want to understand the order of linking. neone plzzz.......
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
06-04-2008 00:41
For LSL, if you link a new child, its prims are inserted into slot 2, and then older children are appended to the end. Your description with "touching" is a little confusing (are you using the editor, or some script?) but does that match what you are seeing?
_____________________
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
06-04-2008 00:46
This may help explain things: http://www.lslwiki.net/lslwiki/wakka.php?wakka=llCreateLink
Varun Blitz
Registered User
Join date: 22 May 2008
Posts: 62
06-04-2008 00:49
From: Hewee Zetkin


i am using scripting for linking, no selection and then link, but touch then llcreatelink.