OsGetLinkNumber

From OpenSimulator

Revision as of 03:43, 26 June 2017 by Djphil (Talk | contribs)

Jump to: navigation, search
integer osGetLinkNumber(string name)
C#: ...
returns the link number of the prim or sitting avatar with name "name" on the link set or -1 if the name is not found.
Threat Level None
Permissions No permissions specified
Extra Delay No function delay specified
Example(s)
// Example of osGetLinkNumber
 
default
{
    state_entry()
    {
        ...
    }
}
Notes
Keep in mind:
  • if names are not unique, the one with lower link number should be return
  • names "Object" and "Primitive" are ignored
Personal tools
General
About This Wiki