llGetExperienceDetails
functionRequires an experience
Function syntax
list llGetExperienceDetails(key experience_id// UUID of the experience to query (can beNULL_KEYto retrieve details for the script's own experience).
);- Returns
list- Energy
- 10
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.
Returns a list of details about the experience. This list has 6 components: [string experience_name, key owner_id, key experience_id, integer state, string state_message, key group_id]
list result = llGetExperienceDetails(NULL_KEY);Examples
Section titled “Examples”Example 1
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 } }History
Section titled “History”- BUG-7048 -
llGetExperienceDetailsreturns 4 forstateand “operation not permitted” forstate_messagewhile over mainland parcels that have the experience allowed.
See also
Section titled “See also”Functions
Section titled “Functions”Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.