llGetExperienceDetails
Revision as of 09:05, 15 July 2014 by Dolphin Linden (talk | contribs) (Updated return list contents)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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. This list has 5 components: [string experience_name, key owner_id, key group_id, key experience_id, integer state, string state_message]
• key | experience_id | – | The ID of the experience to query. |
If experience_id is NULL_KEY, then information about the script's experience is returned. In this situation, if the script isn't associated with an experience, an empty list is returned.
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>