OsGetLinkNumber: Difference between revisions
From OpenSimulator
Jump to navigationJump to search
imported>Djphil No edit summary |
imported>Djphil No edit summary |
||
| 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. | ||
|additional_info= | |additional_info= | ||
* 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 10:42, 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 | |
* if names are not unique, the one with lower link number should be return
| |