LlAgentInExperience
首页 | 函数 | 事件 | 类型 | 操作符 | 常数 | Flow Control | Script Library | Categorized Library | Tutorials |
{{函数详情
|确定指定的代理是否符合脚本的体验。
返回一个布尔值(整数),如果代理在体验中并且体验可以在当前区域中运行,则该值为TRUE。
•关键代理——位于同一区域内的虚拟形象UUID。
|注意事项=Agent must be over a parcel that has the Experience allowed or FALSE is returned with Land Scope Experience compiled scripts.
|示例= 示例1
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