“LlAgentInExperience”的版本间的差异
| 第5行: | 第5行: | ||
|函数名=Function: integer llAgentInExperience( key agent ); | |函数名=Function: integer llAgentInExperience( key agent ); | ||
| − | + | |参数=确定指定的代理是否符合脚本的体验。返回一个布尔值(整数),如果代理在体验中并且体验可以在当前区域中运行,则该值为TRUE。 | |
| − | + | |返回值=•关键代理——位于同一区域内的虚拟形象UUID。 | |
| − | |||
| − | | | ||
| − | |•关键代理——位于同一区域内的虚拟形象UUID。 | ||
|注意事项= 代理必须在一个包上,该包具有允许的经验或错误的是返回的土地范围经验编译脚本。 | |注意事项= 代理必须在一个包上,该包具有允许的经验或错误的是返回的土地范围经验编译脚本。 | ||
2020年5月18日 (一) 08:38的最新版本
| 首页 | 函数 | 事件 | 类型 | 操作符 | 常数 | Flow Control | Script Library | Categorized Library | Tutorials |
| 函数名 |
|---|
| Function: integer llAgentInExperience( key agent ); |
| 确定指定的代理是否符合脚本的体验。返回一个布尔值(整数),如果代理在体验中并且体验可以在当前区域中运行,则该值为TRUE。 |
| •关键代理——位于同一区域内的虚拟形象UUID。 |
| 注意事项 |
|---|
| 代理必须在一个包上,该包具有允许的经验或错误的是返回的土地范围经验编译脚本。 |
| 示例 |
|---|
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 |