“LlGetEnvironment”的版本间的差异
| 第4行: | 第4行: | ||
{{函数详情 | {{函数详情 | ||
|函数名 = Function: list llGetEnvironment( vector pos, list params ) | |函数名 = Function: list llGetEnvironment( vector pos, list params ) | ||
| − | |参数= 参数:*vector pos–A position in region coordinates. X and Y are in region coordinates and determine the parcel. If X and Y are both -1, the environment for the region is inspected. Z is the altitude in the region and determines which sky track is accessed. | + | |参数= 参数: |
| + | *vector pos–A position in region coordinates. X and Y are in region coordinates and determine the parcel. If X and Y are both -1, the environment for the region is inspected. Z is the altitude in the region and determines which sky track is accessed. | ||
*list params–A list of parameters to retrieve from the current environment. | *list params–A list of parameters to retrieve from the current environment. | ||
|返回值= 返回值:返回一个列表,其中包含作为属性列表的包裹和区域的当前环境值。接受要在参数中检索的属性列表,并按照请求的顺序返回它们。 | |返回值= 返回值:返回一个列表,其中包含作为属性列表的包裹和区域的当前环境值。接受要在参数中检索的属性列表,并按照请求的顺序返回它们。 | ||
2021年1月25日 (一) 07:37的最新版本
| 首页 | 函数 | 事件 | 类型 | 操作符 | 常数 | Flow Control | Script Library | Categorized Library | Tutorials |
| 函数名 |
|---|
| Function: list llGetEnvironment( vector pos, list params ) |
参数:
|
| 返回值:返回一个列表,其中包含作为属性列表的包裹和区域的当前环境值。接受要在参数中检索的属性列表,并按照请求的顺序返回它们。 |
| 注意事项 |
|---|
注意事项
|
| 示例 |
|---|
default
{
touch_start(integer total_number)
{
list environment = llGetEnvironment(llGetPos(), [SKY_TRACKS, SKY_AMBIENT, SKY_CLOUDS]);
llOwnerSay(llDumpList2String(environment, ", "));
}
}
|
| 相关事件 |
|---|