Difference between revisions of "LlName2Key"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with "{{Issues/SVC-215}} {{LSL_Function |func_id |mode=request |func_sleep=0.1 |func_energy=10.0 |func=llNameToKey |sort=NameToKey |return_type=key |p1_type=string|p1_name=name|p1_desc…")
 
m
Line 9: Line 9:
|return_type=key
|return_type=key
|p1_type=string|p1_name=name|p1_desc=the Legacy Name of the avatar to retrieve the UUID of.
|p1_type=string|p1_name=name|p1_desc=the Legacy Name of the avatar to retrieve the UUID of.
|return_text=that is the UUID of the avatars with '''display_name''', if they are in the same sim that the script is in.
|return_text=that is the UUID of the avatars with '''name''' as their Legacy Name, if they are in the same sim that the script is in.
|spec
|spec
|caveats=* Works only for agents recently located in the same sim the script is running in. To request a UUID for a non-local avatar then use [[llRequestAgentKeyByName|llRequestAgentKeyByName()]] instead.
|caveats=* Works only for agents recently located in the same sim the script is running in. To request a UUID for a non-local avatar then use [[llRequestAgentKeyByName|llRequestAgentKeyByName()]] instead.

Revision as of 11:08, 30 May 2011

Emblem-important-yellow.png LSL Feature Request
The described function does not exist. This article is a feature request.

Summary

Function: key llNameToKey( string name );
0.1 Forced Delay
10.0 Energy

Returns a key that is the UUID of the avatars with name as their Legacy Name, if they are in the same sim that the script is in.

• string name the Legacy Name of the avatar to retrieve the UUID of.

Caveats

  • This function causes the script to sleep for 0.1 seconds.
  • Works only for agents recently located in the same sim the script is running in. To request a UUID for a non-local avatar then use llRequestAgentKeyByName() instead.

Examples

Notes

Please vote on SVC-215 if you would like to see this function implemented.

See Also

Functions

•  llUsernameToKey to fetch avatar UUID by username.
•  llRequestAgentKeyByUsername to fetch avatar UUID by username grid-wide.
•  llDisplayNameToKeys to fetch avatar UUIDs by display-name.
•  llRequestAgentKeysByDisplayName to fetch avatar UUIDs by display-name grid-wide.
•  llRequestAgentKeyByName to fetch avatar UUID by legacy-name grid-wide.

Deep Notes

Signature

//function key llNameToKey( string name );