experimental function. Results still too volatile to be usefull

This commit is contained in:
UbitUmarov
2016-08-27 19:25:47 +01:00
parent abadad47d3
commit 78fa544f0d
4 changed files with 33 additions and 2 deletions

View File

@@ -4279,5 +4279,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
else
m_host.CollisionSoundType = -1;
}
// still not very usefull, detector is lost on rez, restarts, etc
public void osVolumeDetect(int detect)
{
m_host.AddScriptLPS(1);
if (m_host.ParentGroup == null || m_host.ParentGroup.IsDeleted || m_host.ParentGroup.IsAttachment)
return;
m_host.ScriptSetVolumeDetect(detect != 0);
}
}
}