“LlAgentInExperience”的版本间的差异
| 第4行: | 第4行: | ||
{{函数详情 | {{函数详情 | ||
|函数名=Function: integer llAgentInExperience( key agent ); | |函数名=Function: integer llAgentInExperience( key agent ); | ||
| + | |||
| + | ---- | ||
| + | |||
|确定指定的代理是否符合脚本的体验。 | |确定指定的代理是否符合脚本的体验。 | ||
|返回一个布尔值(整数),如果代理在体验中并且体验可以在当前区域中运行,则该值为TRUE。 | |返回一个布尔值(整数),如果代理在体验中并且体验可以在当前区域中运行,则该值为TRUE。 | ||
2020年5月18日 (一) 08:36的版本
| 首页 | 函数 | 事件 | 类型 | 操作符 | 常数 | Flow Control | Script Library | Categorized Library | Tutorials |
| 函数名 |
|---|
| Function: integer llAgentInExperience( key agent );
|
| 无 |
| 无 |
| 注意事项 |
|---|
| 代理必须在一个包上,该包具有允许的经验或错误的是返回的土地范围经验编译脚本。 |
| 示例 |
|---|
default
{
touch_start(integer total_number)
{
if(llAgentInExperience(llDetectedKey(0)))
{
llOwnerSay(llDetectedName(0)+ " is in my experience");
}
else
{
llOwnerSay(llDetectedName(0)+ " is not in my experience");
}
}
}
|
| 相关函数 |
|---|
| llGetExperienceDetails |
| 相关事件 |
|---|
| Search JIRA for related Issues |