diff options
author | Justin Clarke Casey | 2008-04-09 15:33:04 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-04-09 15:33:04 +0000 |
commit | f9646a0c813545a6ea156e125764ba7aec191b1e (patch) | |
tree | e9ffe9922030a4cc015c43c9ae59609ca8d08f1e /OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs | |
parent | From: Kurt Taylor <krtaylor@us.ibm.com> (diff) | |
download | opensim-SC_OLD-f9646a0c813545a6ea156e125764ba7aec191b1e.zip opensim-SC_OLD-f9646a0c813545a6ea156e125764ba7aec191b1e.tar.gz opensim-SC_OLD-f9646a0c813545a6ea156e125764ba7aec191b1e.tar.bz2 opensim-SC_OLD-f9646a0c813545a6ea156e125764ba7aec191b1e.tar.xz |
From: Michael Osias <mosias@us.ibm.com>
"This is llDetectedKey for touch_start - it is already implemented for sensor."
Thanks Michael
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs index 763cc76..2f2b384 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs | |||
@@ -90,7 +90,10 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
90 | public void touch_start(uint localID, LLVector3 offsetPos, IClientAPI remoteClient) | 90 | public void touch_start(uint localID, LLVector3 offsetPos, IClientAPI remoteClient) |
91 | { | 91 | { |
92 | // Add to queue for all scripts in ObjectID object | 92 | // Add to queue for all scripts in ObjectID object |
93 | myScriptEngine.m_EventQueueManager.AddToObjectQueue(localID, "touch_start", EventQueueManager.llDetectNull, new object[] { (int)1 }); | 93 | EventQueueManager.Queue_llDetectParams_Struct detstruct = new EventQueueManager.Queue_llDetectParams_Struct(); |
94 | detstruct._key = new LSL_Types.key[1]; | ||
95 | detstruct._key[0] = new LSL_Types.key(remoteClient.AgentId.ToString()); | ||
96 | myScriptEngine.m_EventQueueManager.AddToObjectQueue(localID, "touch_start", detstruct, new object[] { (int)1 }); | ||
94 | } | 97 | } |
95 | 98 | ||
96 | public void OnRezScript(uint localID, LLUUID itemID, string script) | 99 | public void OnRezScript(uint localID, LLUUID itemID, string script) |