diff options
author | Charles Krinke | 2008-09-10 01:54:25 +0000 |
---|---|---|
committer | Charles Krinke | 2008-09-10 01:54:25 +0000 |
commit | 6b10725f20fe7295144f047027cf2d2f27b8740e (patch) | |
tree | 991e1b77659da7e2d9d9418e996e0cf4b60a6836 /OpenSim | |
parent | Thanks, nlin, for a patch implementing persistence for "When Left Clicked" (diff) | |
download | opensim-SC-6b10725f20fe7295144f047027cf2d2f27b8740e.zip opensim-SC-6b10725f20fe7295144f047027cf2d2f27b8740e.tar.gz opensim-SC-6b10725f20fe7295144f047027cf2d2f27b8740e.tar.bz2 opensim-SC-6b10725f20fe7295144f047027cf2d2f27b8740e.tar.xz |
Implementation for llDetectedLinkNumber in DotNetEngine.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index a58a480..6449edf 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |||
@@ -941,8 +941,10 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
941 | public LSL_Types.LSLInteger llDetectedLinkNumber(int number) | 941 | public LSL_Types.LSLInteger llDetectedLinkNumber(int number) |
942 | { | 942 | { |
943 | m_host.AddScriptLPS(1); | 943 | m_host.AddScriptLPS(1); |
944 | NotImplemented("llDetectedLinkNumber"); | 944 | EntityBase SensedObject = entityDetectedKey(number); |
945 | return 0; | 945 | if (SensedObject == null) |
946 | return 0; | ||
947 | return m_host.LinkNum; | ||
946 | } | 948 | } |
947 | 949 | ||
948 | public void llDie() | 950 | public void llDie() |