string llGetLinkName(integer linknum)
Gets the name of
linknum in
link set.
Compare with
llGetLinkNumber.
Returns NULL_KEY if not in set.
*You can use the LINK_* flag
LINK_ROOT for the linknum, but don't even think about using
LINK_THIS (it won't work). You can just use
llGetObjectName( ) in that case anyway.
Q: Weird. Shouldn't it return "" (empty string)?
A: Well, it shouldn't return NULL_KEY, that's for sure. It does though. Crazy, huh?
A: Since LSL has no NULL data type, and objects can be named with an empty string, NULL_KEY is a valid response- Marv
This article wasn't helpful for you? Maybe the
related article at the LSL Portal is able to bring enlightenment.
Functions |
Link