llGetExperienceDetails
Revision as of 13:22, 8 July 2014 by Jeremy Linden (talk | contribs) (Created page with "Category:Experience Tools {{LSL_Function |func=llGetExperienceDetails |func_desc=Returns a list of details about the experience. |func_footnote=The returned list has 5 compon…")
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: list llGetExperienceDetails( key experience_id );
Returns a list of details about the experience.
Returns a list
• key | experience_id | – | The ID of the experience to query. Can be NULL_KEY to request information on the script's experience. |
The returned list has 5 components: Experience Name, Owner ID, Group ID, Experience ID, state, state message
Caveats
Examples
<lsl>default
{ touch_start(integer total_number) { key xp = "9170c22b-f445-ea5d-89fa-0f2f1e144f04"; llOwnerSay(llDumpList2String(llGetExperienceDetails(xp), "\n")); // Prints: // Linden Realms // id // status msg llOwnerSay(llDumpList2String(llGetExperienceDetails(NULL_KEY), "\n")); // Print nothing if not associated with an XP or info about the associated experience }}</lsl>