diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 010961e..623ac29 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |||
@@ -1508,6 +1508,8 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1508 | } | 1508 | } |
1509 | } | 1509 | } |
1510 | 1510 | ||
1511 | |||
1512 | |||
1511 | public void llSetHoverHeight(double height, int water, double tau) | 1513 | public void llSetHoverHeight(double height, int water, double tau) |
1512 | { | 1514 | { |
1513 | m_host.AddScriptLPS(1); | 1515 | m_host.AddScriptLPS(1); |
@@ -4405,6 +4407,18 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
4405 | return false; | 4407 | return false; |
4406 | } | 4408 | } |
4407 | 4409 | ||
4410 | public void osSetPrimFloatOnWater(int floatYN) | ||
4411 | { | ||
4412 | m_host.AddScriptLPS(1); | ||
4413 | if (m_host.ParentGroup != null) | ||
4414 | { | ||
4415 | if (m_host.ParentGroup.RootPart != null) | ||
4416 | { | ||
4417 | m_host.ParentGroup.RootPart.SetFloatOnWater(floatYN); | ||
4418 | } | ||
4419 | } | ||
4420 | } | ||
4421 | |||
4408 | private void NotImplemented(string command) | 4422 | private void NotImplemented(string command) |
4409 | { | 4423 | { |
4410 | m_host.AddScriptLPS(1); | 4424 | m_host.AddScriptLPS(1); |