Difference between revisions of "Category:LSL Key"
Jump to navigation
Jump to search
m (lsl code tagging) |
m |
||
Line 1: | Line 1: | ||
{{Multi-lang}} | {{Multi-lang}} | ||
{{LSL Header}} | {{LSL Header}}{{LSLC|}}{{LSLC|Types}} | ||
A key is a unique identifier in Second Life (often referred to as a UUID) for anything mostly, be it a prim, avatar, texture, etc. | A key is a unique identifier in Second Life (often referred to as a UUID) for anything mostly, be it a prim, avatar, texture, etc. |
Revision as of 15:19, 9 June 2008
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
A key is a unique identifier in Second Life (often referred to as a UUID) for anything mostly, be it a prim, avatar, texture, etc.
The key itself is formed of hexidecimal characters (a-f and 0-9) and each section of the key is broken up by dashes.
An example key:
"a822ff2b-ff02-461d-b45d-dcd10a2de0c2"
When passed as the parameter for a conditional it only evaluates true if it is a valid key and not NULL_KEY. You can use this to detect if an arbitrary string is a valid key as follows:
<lsl> integer isKey(key in) {
if(in) return 2; return (in == NULL_KEY);
} </lsl>
Subcategories
This category has the following 4 subcategories, out of 4 total.
Pages in category "LSL Key"
The following 21 pages are in this category, out of 21 total.