LlParcelMediaQuery

来自人工智能助力教育知识百科
跳转至: 导航搜索

Template:Needs Translation/


函数名
Function: list llParcelMediaQuery( list query );
参数:

• list query

返回值:

返回一个包含查询结果的列表。结果与请求的顺序相同。

注意事项
注意事项
  • 这个函数会导致脚本休眠2.0秒。
  • 这个脚本的对象必须由所有者拥有,否则函数将无声地失败。
  • 如果脚本的对象超过组拥有的土地,那么该对象必须转让给该组。
示例
示例一
//-- quick function to tell you the URL of the Media the Parcel is set for
default{
  touch_start( integer vIntNull ){ //-- named null because we're ignoring it
    llSay( 0, "The Media URL is\n" + (string)llParcelMediaQuery( (list)PARCEL_MEDIA_COMMAND_URL ) );
  }
}
相关函数
llParceMediaCommandList
相关事件