OsGetLinkNumber
From OpenSimulator
(Difference between revisions)
| Line 16: | Line 16: | ||
|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. | ||
| − | + | * 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.
| |
| Threat Level | No threat level specified |
| Permissions | No permissions specified |
| Extra Delay | No function delay specified |
| Example(s) | |
// Example of osGetLinkNumber default { state_entry() { ... } } | |