From fa2495ae6b39b8b1f98bed221d4d2660724018de Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Mon, 24 Dec 2007 21:16:32 +0000 Subject: Again, great thanks to Alondria for: Adding:: llSetParcelMusicUrl(), llGetRootPosition(), llGetRootRotation(), llGetGeometricCenter(), llSetLocalRot(), llListReplaceList(), llGetObjectPrimCount(),llGetParcelDetails(), llGetParcelMaxPrims(), llWater(), llGetLocalRot(), and llGetAccel() --- OpenSim/Region/Environment/Scenes/Scene.cs | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs') diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 117cbd5..cf17686 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -1981,7 +1981,26 @@ namespace OpenSim.Region.Environment.Scenes return land.landData.ownerID; } } - + + public LandData GetLandData(float x, float y) + { + return LandManager.getLandObject(x, y).landData; + } + + public void SetLandMusicURL(float x, float y, string url) + { + Land land = LandManager.getLandObject(x, y); + if (land == null) + { + return; + } + else + { + land.landData.musicURL = url; + return; + } + } + #endregion #region Script Engine -- cgit v1.1