OsGetLinkNumber
From OpenSimulator
(Difference between revisions)
(Created page with "{{osslfunc |threat_level= |function_syntax= |csharp_syntax= |ossl_example=<source lang="lsl"> // Example of osGetLinkNumber default { state_entry() { ... ...") |
|||
| Line 1: | Line 1: | ||
{{osslfunc | {{osslfunc | ||
|threat_level= | |threat_level= | ||
| − | |function_syntax= | + | |function_syntax=integer osGetLinkNumber(string name) |
|csharp_syntax= | |csharp_syntax= | ||
|ossl_example=<source lang="lsl"> | |ossl_example=<source lang="lsl"> | ||
| Line 14: | Line 14: | ||
} | } | ||
</source> | </source> | ||
| − | |description=. | + | |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. |
| + | |||
| + | - if names are not unique, the one with lower link number should be return | ||
| + | - names "Object" and "Primitive" are ignored | ||
| | | | ||
}} | }} | ||
Revision as of 02:31, 26 June 2017
integer osGetLinkNumber(string name)
| |
| 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() { ... } } | |