Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Prim numbering when linking

Vincent Cinquetti
Happy-go-lucky scamp
Join date: 22 Jun 2005
Posts: 134
08-10-2005 17:04
Okay I have a query.

If I have say three cubes linked then for llMessageLinked they are numbered 1-3 in the reverse order of how they were linked.

Now, say I link a sphere to the three already linked.
Does the sphere become #4 or #1 and the others move up or....
_____________________

Canceled my products as there is no interest.



Abashed, the devil stood and felt how awful goodness is.
Seagel Neville
Far East User
Join date: 2 Jan 2005
Posts: 1,476
08-10-2005 19:03
It would be the root prim that you select it at the end before linking. So if you select the cubes at first, the sphere would be #1 and the others move up. On the other hand, if you select the sphere at first, the sphere would be #2, the root prim not change and the others move up.
_____________________
:) Seagel Neville :)
Vincent Cinquetti
Happy-go-lucky scamp
Join date: 22 Jun 2005
Posts: 134
08-10-2005 22:25
Thanks. So either way the sphere is #1 or #2 and the others always move up.
_____________________

Canceled my products as there is no interest.



Abashed, the devil stood and felt how awful goodness is.
Seagel Neville
Far East User
Join date: 2 Jan 2005
Posts: 1,476
08-10-2005 22:46
I'm afraid I'm worng. You have to make sure that by using this script below.
CODE
default
{
touch_start(integer num_detected)
{
llOwnerSay((string)llGetLinkNumber());
}
}
Try to put this script in each prims and touch. You'd better to name each prim different name so that you can figure out what prim says its link number.
_____________________
:) Seagel Neville :)