LlAgentInExperience

来自人工智能助力教育知识百科
Wzc讨论 | 贡献2020年5月18日 (一) 08:19的版本 (创建页面,内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}} {{函数详情 |函数名=Function: integer llAgentInExperience( key agent );; |参数= 参数…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航搜索

Template:Needs Translation/


{{函数详情 |函数名=Function: integer llAgentInExperience( key agent );; |参数= 参数:integer val – Any integer value |返回值= 返回值:Returns an integer that is the positive version of val.


|注意事项=The llAbs of -2147483648 is -2147483648. This is because the positive integer 2147483648 is outside the range of allowed LSL integer values.


|示例= 示例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