Yes I found you have to name the link prims and then use a loop to find
the one you want using llGetLinkName   It's odd as the Second Life wiki
doesn't mention this issue for llGetLinkNumber, but then this is not
Second Life!  


On Wed, 2021-02-03 at 09:27 +0000, Leal Duarte wrote:
> Hi,
> 
>      it is actually not possible to  synchronize the link number as
> seen 
> by viewers and regions.
> 
>      There is no protocol for that. Viewers just assign a number
> based 
> on when they learn about the prim from lludp packets, and those, by
> udp 
> definition, have no time order.
> 
> Ubit
> 
> 
> On 02-Feb-21 22:13, Dessert First wrote:
> > Hi all. I am a new user of Opensim and I have a question to pose to
> > the group. I am scripting in Opensim and have noticed something
> > that 
> > is problematic, but I don't know if it is caused by a "well-known" 
> > problem or not. My script is intended to be dropped into a prim in
> > a 
> > rather large linkset. For testing purposes, I wrote a very simple 
> > script which calls llGetLinkNumber() and prints that to local chat.
> > The problem is that the link number from that prim is different
> > from 
> > what I see when I use the editor, edit linked prims, and click on
> > the 
> > prim containing my script. I know there are certain things the
> > editor 
> > shows that can't be trusted (like LI or maybe event prim count). So
> > is 
> > the editor to blame or should I file a bug report on
> > llGetLinkNumber()?
> > 
> > Thanks for your time and replies.
> > 
> > 
> > _______________________________________________
> > Opensim-users mailing list
> > Opensim-users@opensimulator.org
> > http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
> _______________________________________________
> Opensim-users mailing list
> Opensim-users@opensimulator.org
> http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users


_______________________________________________
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users

Reply via email to