* Patch from Alondria - Added LLFunctions llGetMass(), llGetLandOwnerAt(), llGetVel(), llGround()

This commit is contained in:
Teravus Ovares
2007-12-23 13:14:56 +00:00
parent 984f2da17d
commit b2903c4a8a
3 changed files with 39 additions and 9 deletions

View File

@@ -1964,7 +1964,23 @@ namespace OpenSim.Region.Environment.Scenes
{
m_eventManager.TriggerOnPluginConsole(args);
}
public double GetLandHeight(int x, int y)
{
return Terrain.GetHeight(x, y);
}
public LLUUID GetLandOwner(float x, float y)
{
Land land = LandManager.getLandObject(x, y);
if (land == null)
{
return LLUUID.Zero;
}
else
{
return land.landData.ownerID;
}
}
#endregion
#region Script Engine