mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
*Almost* have a complete implementation of llDetectedGroup.
One member missing, so a portion is commented out.
This commit is contained in:
@@ -934,8 +934,14 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||
public LSL_Types.LSLInteger llDetectedGroup(int number)
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
NotImplemented("llDetectedGroup");
|
||||
return 0;
|
||||
EntityBase SensedObject = entityDetectedKey(number);
|
||||
if (SensedObject == null)
|
||||
return new LSL_Types.LSLInteger(0);
|
||||
//I almost get this, but not quite. So comment out the problemm line until I
|
||||
//figure it out
|
||||
// if (m_host.GroupID == SensedObject.)
|
||||
// return new LSL_Types.LSLInteger(1);
|
||||
return new LSL_Types.LSLInteger(0);
|
||||
}
|
||||
|
||||
public LSL_Types.LSLInteger llDetectedLinkNumber(int number)
|
||||
|
||||
Reference in New Issue
Block a user