“LlAgentInExperience”的版本间的差异
(创建页面,内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}} {{函数详情 |函数名=Function: integer llAgentInExperience( key agent );; |参数= 参数…”) |
|||
| 第1行: | 第1行: | ||
| + | |||
{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}} | {{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}} | ||
{{函数详情 | {{函数详情 | ||
| − | | | + | |确定指定的代理是否符合脚本的体验。 |
| − | + | 返回一个布尔值(整数),如果代理在体验中并且体验可以在当前区域中运行,则该值为TRUE。 | |
| − | + | •关键代理——位于同一区域内的虚拟形象UUID。 | |
| − | |注意事项= | + | |注意事项=Agent must be over a parcel that has the Experience allowed or FALSE is returned with Land Scope Experience compiled scripts. |
| − | |||
|示例= | |示例= | ||
| 第31行: | 第31行: | ||
| − | |相关函数=llGetExperienceDetails | + | |相关函数=[[llGetExperienceDetails]] |
| − | |||
|备注=Search JIRA for related Issues | |备注=Search JIRA for related Issues | ||
2020年5月18日 (一) 08:26的版本
| 首页 | 函数 | 事件 | 类型 | 操作符 | 常数 | 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