Template:Needs Translation/
函数名
|
Function: string llGetParcelMusicURL( );
|
参数: key avatar – 位于同一区域的avatar UUID
|
返回值:返回包含包裹流音频URL的字符串(Returns a string containing the parcel streaming audio URL.)
|
注意事项
|
对象所有者也必须是土地所有者。如果土地被划分为一个组,则需要将对象划分为同一个组才能使此功能发挥作用。
|
示例
|
示例1
string parcel_music_url()
{
string parcelMusicURL = llGetParcelMusicURL();
if (parcelMusicURL != "")
return parcelMusicURL;
// else
return "Sorry, could not retrieve parcel's music URL.\n"
+ "You'll either need to be the land owner or able to deed me.";
}
default
{
touch_start(integer num_detected)
{
// PUBLIC_CHANNEL has the integer value 0
llSay(PUBLIC_CHANNEL, parcel_music_url() );
}
}
|
相关函数
|
llSetParcelMusicURL - 设置打开包裹对象的音乐流URL(Sets the music stream URL for the parcel object is on )
|