OsGetLinkNumber: Difference between revisions

From OpenSimulator
Jump to navigationJump to search
imported>Djphil
No edit summary
imported>Djphil
No edit summary
Line 2: Line 2:
|threat_level=
|threat_level=
|function_syntax=integer osGetLinkNumber(string name)
|function_syntax=integer osGetLinkNumber(string name)
|csharp_syntax=
|csharp_syntax=...
|ossl_example=<source lang="lsl">
|ossl_example=<source lang="lsl">
// Example of osGetLinkNumber
// Example of osGetLinkNumber

Revision as of 10:32, 26 June 2017

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.
  • if names are not unique, the one with lower link number should be return
  • names "Object" and "Primitive" are ignored
Threat Level No threat level specified
Permissions No permissions specified
Extra Delay No function delay specified
Example(s)
// Example of osGetLinkNumber

default
{
    state_entry()
    {
        ...
    }
}