Difference between revisions of "How to find the UUID of an inventory item"

From Second Life Wiki
Jump to navigation Jump to search
m (redirect to same page as How_to_find_the_UUID_inventory_item)
 
(34 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{KBmaster}}
{{#Widget:Redirect|url=/t5/English-Knowledge-Base/Advanced-inventory-management/ta-p/1376385#Section_.4}}
 
[http://en.wikipedia.org/wiki/UUID UUID] stands for ''Universally Unique Identifier''. Every avatar, object, and inventory item in the Second Life® world has a UUID; [https://wiki.secondlife.com/wiki/How_do_I_make_an_object_%27%27do%27%27_something%3F|Scripted objects] often make use of UUIDs to identify avatars and objects, load textures, and play sounds.
 
{{KBtrivia| In Second Life, the term ''UUID'' is interchangeable with the word ''key''. If you hear someone talking about an "avatar key", they are referring to an avatar's UUID.}}
 
xxxxx
 
==How to find an avatar's UUID==
 
You may occasionally need to know an avatar's UUID; some vending machines and other scripted objects require a valid avatar UUID to function properly. Luckily, finding an avatar's UUID is as easy as performing a simple search:
 
# Click the '''Search''' button at the bottom of your Second Life viewer window.
# Click the '''All''' tab on the Search window.
# Choose '''People''' from the dropdown box to the right of the search field. [Optional]
# Type the name of the avatar into the search field and press '''Search'''.
# Click the avatar's name in the search results.
# At the bottom of the avatar's profile, find the URL next to "Link to this page."
# The long string of letters and numbers after the last ''forward slash'' ("/") is that avatar's UUID.
 
[[Image:kb_search_avatar_UUID.jpg]]
 
==How to find the UUID of an inventory item==
 
[[Image:kb_copy_asset_UUID.jpg|right]]
 
If you make extensive use of LSL scripts, you may want to know the UUID of a texture or sound in your avatar's inventory. You can easily copy any inventory item's UUID to your computer's clipboard by right-clicking it and selecting '''Copy Asset UUID''':
 
===Caveats===
 
This method is great for finding sound and texture UUIDs, but is not always effective for other inventory types. Here is a short list of exceptions:
 
* A notecard's UUID changes every time it is edited and saved.
* There is no way to find an object's UUID until it is rezzed inworld; this is because each rezzed copy of the object must have a unique UUID. Similarly, if you take an object into your inventory, it is assigned a new UUID the next time you rez it.
* There is no way to find an LSL script's UUID while it is in your inventory, for similar reasons.
* You must have ''full permissions'' on any inventory item to copy its UUID; this also applies to calling cards, which are by nature "no-transfer" items.
 
==Other resources==
 
LSL has several [[Category:LSL Detected|detection functions]] that can help determine an object or avatar's UUID. If you are interested in learning to use LSL for this purpose, see the [[LSL Portal]].
 
[[Category:Avatar]]
[[Category:Building Objects]]
[[Category:Creators]]
[[Category:Coding Scripts]]
[[Category:General Avatar Information]]
[[Category:Business Owners]]
[[Category:Working with Textures]]
[[Category:Knowledge Base]]

Latest revision as of 02:29, 23 January 2014

Redirecting to http://community.secondlife.com/t5/English-Knowledge-Base/Advanced-inventory-management/ta-p/1376385#Section_.4