Neverworld Grid

You are not logged in. Would you like to login or register?



6/10/2019 6:38 pm  #1


Find Link Number By name UDF

pass it a name and it will return the first link it finds with that name

integer FindLinkNumberByName(string LinkName)
{
  integer q;
  for (q=0; q<=llGetNumberOfPrims(); q++)
  {
    if (llGetLinkName(q) == LinkName)
    {
      return q;
    }
  }
  return -1;
}

 

Board footera

 

Powered by Boardhost. Create a Free Forum