“LlGetLandOwnerAt”的版本间的差异
(创建页面,内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}} {{函数详情 |函数名=Function:Function: string llList2CSV( list src ); |参数= 参数:…”) |
|||
| 第3行: | 第3行: | ||
{{函数详情 | {{函数详情 | ||
| − | |函数名=Function: | + | |函数名=Function: key llGetLandOwnerAt( vector pos ); |
|参数= 参数:矢量位置——区域坐标 | |参数= 参数:矢量位置——区域坐标 | ||
2020年6月8日 (一) 07:12的最新版本
| 首页 | 函数 | 事件 | 类型 | 操作符 | 常数 | Flow Control | Script Library | Categorized Library | Tutorials |
| 函数名 |
|---|
| Function: key llGetLandOwnerAt( vector pos ); |
| 参数:矢量位置——区域坐标 |
| 返回值:返回pos处土地所有者的密钥。
说明:如果土地在公共域中,则返回空密钥。这片土地可以被任何拥有可用等级的人占有。在预览网格上的土地是这样划分出来的。主网格上的土地从未进入公共领域,而是由LL拍卖。 如果土地为集团所有,则返回集团密钥。 |
| 注意事项 |
|---|
| All Issues ~ Search JIRA for related Bugs |
| 示例 |
|---|
default {
state_entry() {
//llKey2Name does not work for groups, and it requires avatars to be on sim (owner is not known when absent tested 2019-06-10).
//Actually printing the owner name (also for groups) is somewhat tricky - if you feel otherwise, please update this example.
llOwnerSay("The land owner under this object is " + llKey2Name(llGetLandOwnerAt(llGetPos())) + ".");
}
}
|
| 相关函数 |
|---|
| llGetParcelDetails |
| 相关事件 |
|---|
| 无 |