“LlGetAttachedList”的版本间的差异
(创建页面,内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}} {{函数详情 |函数名 = Function: list llGetAttachedList( key avatar ) |参数= 参数:key…”) |
|||
| 第4行: | 第4行: | ||
{{函数详情 | {{函数详情 | ||
|函数名 = Function: list llGetAttachedList( key avatar ) | |函数名 = Function: list llGetAttachedList( key avatar ) | ||
| − | |参数= 参数:key | + | |参数= 参数:key avatar–同一区域化身的UUID |
|返回值= 返回值:返回一个对象键列表,该对象键对应于角色所佩戴的公共附件。 | |返回值= 返回值:返回一个对象键列表,该对象键对应于角色所佩戴的公共附件。 | ||
2021年8月29日 (日) 02:41的最新版本
| 首页 | 函数 | 事件 | 类型 | 操作符 | 常数 | Flow Control | Script Library | Categorized Library | Tutorials |
| 函数名 |
|---|
| Function: list llGetAttachedList( key avatar ) |
| 参数:key avatar–同一区域化身的UUID |
| 返回值:返回一个对象键列表,该对象键对应于角色所佩戴的公共附件。 |
| 注意事项 |
|---|
| 无 |
| 示例 |
|---|
// Touch to list all attachments
default
{
touch_start(integer total_number)
{
list AttachedNames;
list AttachedUUIDs = llGetAttachedList(llDetectedKey(0));
integer i;
while (i < llGetListLength(AttachedUUIDs) )
{
list temp = llGetObjectDetails(llList2Key(AttachedUUIDs,i),[OBJECT_NAME]);
AttachedNames += [llList2String(temp,0)];
++i;
}
llSay(PUBLIC_CHANNEL,"\n" + llDumpList2String(AttachedNames,"\n"));
}
}
|
| 相关函数 |
|---|
| llGetAttached
llAttachToAvatar llDetachFromAvatar llAttachToAvatar llGetObjectDetails–OBJECT_ATTACHED_POINT |
| 相关事件 |
|---|
| attach |