Jump to content

Jamie Monacular

Resident
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Jamie Monacular

  • Rank
    Newbie
  1. integer getLinkNum(string primName){ integer primCount = llGetNumberOfPrims(); integer i; for (i=0; i<primCount+1;i++) { if (llGetLinkName(i)==primName) return i; } return FALSE;} Found the solution to what I was trying to do elsewhere. There it is above in case it's of use to anybody else.
  2. I'm trying to figure out an efficient way to go about getting the link number of a named prim within a linkset when only the name of said prim is known and there is no touch happening (script is getting the prim names via a listen or link_message depending on the situation). I've tried keeping a list of the link numbers, but as the build gets modified and new prims added or old ones taken away, that becomes more and more difficult to do. Any ideas or suggestions?
×
×
  • Create New...