From 3fe966d6b32f858da37a263e0568f28c7700b03b Mon Sep 17 00:00:00 2001 From: idb Date: Sun, 21 Dec 2008 19:04:06 +0000 Subject: An initial implementation of llMinEventDelay in XEngine. Not implemented yet in DotNetEngine. Fixes Mantis #2830 --- .../Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine/Shared/Api') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 5ef9471..a005b01 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -2756,7 +2756,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public void llMinEventDelay(double delay) { m_host.AddScriptLPS(1); - NotImplemented("llMinEventDelay"); + try + { + m_ScriptEngine.SetMinEventDelay(m_itemID, delay); + } + catch (NotImplementedException) + { + // Currently not implemented in DotNetEngine only XEngine + NotImplemented("llMinEventDelay in DotNetEngine"); + } } /// -- cgit v1.1