Difference between revisions of "LlKey2Name"

From Second Life Wiki
Jump to: navigation, search
Line 3: Line 3:
 
|sort=Key2Name|func=llKey2Name
 
|sort=Key2Name|func=llKey2Name
 
|return_type=string|p1_type=key|p1_name=id
 
|return_type=string|p1_type=key|p1_name=id
|func_footnote
+
|func_footnote=If '''id''' is not in the sim, an empty string is returned.
 
|func_desc
 
|func_desc
|return_text=that is the name of the object or avatar '''id''' but '''id''' must be in the current simulator, otherwise the empty string.
+
|return_text=that is the name of the object or avatar '''id'''.
 
|spec
 
|spec
|caveats
+
|caveats=*It is difficult to tell the difference between an object that has a name that is an empty string and an object that is not in the sim.
 
|constants
 
|constants
 
|examples
 
|examples

Revision as of 18:17, 8 March 2007

Summary

Function: string llKey2Name( key id );

Returns a string that is the name of the object or avatar id.

• key id

If id is not in the sim, an empty string is returned.

Caveats

  • It is difficult to tell the difference between an object that has a name that is an empty string and an object that is not in the sim.
All Issues ~ Search JIRA for related Bugs

Examples

Deep Notes

Search JIRA for related Issues

Signature

function string llKey2Name( key id );