OsGetLinkNumber

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
Line 15: Line 15:
 
</source>
 
</source>
 
|description=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.
 
|description=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.
|additional_info=  
+
|additional_info=Keep in mind:
 
+
 
* if names are not unique, the one with lower link number should be return
 
* if names are not unique, the one with lower link number should be return
 
* names "Object" and "Primitive" are ignored
 
* names "Object" and "Primitive" are ignored
 
|
 
|
 
}}
 
}}

Revision as of 02:43, 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.
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