Implementation for llDetectedLinkNumber in DotNetEngine.

0.6.0-stable
Charles Krinke 2008-09-10 01:54:25 +00:00
parent e0d092ec53
commit 6b10725f20
1 changed files with 4 additions and 2 deletions

View File

@ -941,8 +941,10 @@ namespace OpenSim.Region.ScriptEngine.Common
public LSL_Types.LSLInteger llDetectedLinkNumber(int number)
{
m_host.AddScriptLPS(1);
NotImplemented("llDetectedLinkNumber");
return 0;
EntityBase SensedObject = entityDetectedKey(number);
if (SensedObject == null)
return 0;
return m_host.LinkNum;
}
public void llDie()