Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llBreakLink

Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
11-11-2005 21:53
So I want to break link items #1-6 (link item 0 bein' root prim) from a large object...

...no matter how I order the linking of my object, it seems the de-linking is a bit random.

...the question is...when I run the break-link statements...does it re-calculate the seniority of the prim-make-up with each call? Or do I need to make successively stepped calls?

i.e...

llBreakLink(2)
llBreakLink(2)

or

llBreakLink(2)
llBreakLink(3)

Anyone know?
_____________________
--AeonVox--

Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music.
Cid Jacobs
Theoretical Meteorologist
Join date: 18 Jul 2004
Posts: 4,304
11-11-2005 21:56
From: Kenn Nilsson

llBreakLink(2)
llBreakLink(2)

That should work, they are renumbered after each call.
_____________________
Cid Jacobs
Theoretical Meteorologist
Join date: 18 Jul 2004
Posts: 4,304
11-11-2005 21:58
You might also try the following to check the numbers.

CODE
changed(integer change) 
{
if (change & CHANGED_LINK)
llSay(0,(string)llGetLinkNumber());
}
_____________________
Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
11-12-2005 09:52
Thanks...workin' correctly now.
_____________________
--AeonVox--

Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music.