aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs13
1 files changed, 11 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index fb436c7..41c3956 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -3693,10 +3693,19 @@ namespace OpenSim.Region.ScriptEngine.Common
3693 return ret; 3693 return ret;
3694 } 3694 }
3695 3695
3696 public void llScriptDanger(LSL_Types.Vector3 pos) 3696 public int llScriptDanger(LSL_Types.Vector3 pos)
3697 { 3697 {
3698 m_host.AddScriptLPS(1); 3698 m_host.AddScriptLPS(1);
3699 NotImplemented("llScriptDanger"); 3699 bool result = World.scriptDanger(m_host.LocalId, new LLVector3((float)pos.x, (float)pos.y, (float)pos.z));
3700 if (result)
3701 {
3702 return 1;
3703 }
3704 else
3705 {
3706 return 0;
3707 }
3708
3700 } 3709 }
3701 3710
3702 public void llDialog(string avatar, string message, LSL_Types.list buttons, int chat_channel) 3711 public void llDialog(string avatar, string message, LSL_Types.list buttons, int chat_channel)