OsGetLinkNumber
From OpenSimulator
(Difference between revisions)
Line 10: | Line 10: | ||
state_entry() | state_entry() | ||
{ | { | ||
− | + | integer linknum = osGetLinkNumber("Test"); | |
+ | llOwnerSay(llGetLinkName(linknum)); | ||
} | } | ||
} | } |
Revision as of 13:32, 15 October 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() { integer linknum = osGetLinkNumber("Test"); llOwnerSay(llGetLinkName(linknum)); } } |