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.cs10
1 files changed, 8 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 6449edf..6a9b8b7 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -934,8 +934,14 @@ namespace OpenSim.Region.ScriptEngine.Common
934 public LSL_Types.LSLInteger llDetectedGroup(int number) 934 public LSL_Types.LSLInteger llDetectedGroup(int number)
935 { 935 {
936 m_host.AddScriptLPS(1); 936 m_host.AddScriptLPS(1);
937 NotImplemented("llDetectedGroup"); 937 EntityBase SensedObject = entityDetectedKey(number);
938 return 0; 938 if (SensedObject == null)
939 return new LSL_Types.LSLInteger(0);
940//I almost get this, but not quite. So comment out the problemm line until I
941//figure it out
942// if (m_host.GroupID == SensedObject.)
943// return new LSL_Types.LSLInteger(1);
944 return new LSL_Types.LSLInteger(0);
939 } 945 }
940 946
941 public LSL_Types.LSLInteger llDetectedLinkNumber(int number) 947 public LSL_Types.LSLInteger llDetectedLinkNumber(int number)