Template:Needs Translation/
函数名
|
Function: list llGetExperienceDetails( key experience_id )
|
参数:key experience_id–The ID of the experience to query.
|
返回值:返回关于体验的详细信息列表。这个列表有6个组件:[string experience_name, key owner_id, key experience_id, integer state, string state_message, key group_id]
|
示例
|
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
}
}
|