Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
This commit is contained in:
Pixel Tomsen
2012-01-25 21:31:18 +01:00
committed by BlueWall
parent 7444f3bfad
commit 8f53c768f5
5 changed files with 34 additions and 1 deletions

View File

@@ -7566,6 +7566,18 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
ScriptSleep(2000);
}
public LSL_String llGetParcelMusicURL()
{
m_host.AddScriptLPS(1);
ILandObject land = World.LandChannel.GetLandObject(m_host.AbsolutePosition.X, m_host.AbsolutePosition.Y);
if (land.LandData.OwnerID != m_host.OwnerID)
return String.Empty;
return land.GetMusicUrl();
}
public LSL_Vector llGetRootPosition()
{
m_host.AddScriptLPS(1);