diff options
author | Teravus Ovares | 2008-05-07 18:23:46 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-05-07 18:23:46 +0000 |
commit | ab5556055e6104d3e5c18faf7f6f9e44b518839f (patch) | |
tree | 470dfe3c97a2cae75e85853a898f59a8d96548bd /OpenSim/Region/ScriptEngine/Common/ScriptEngineBase | |
parent | while I'm not convinced this is causing my current run away (diff) | |
download | opensim-SC_OLD-ab5556055e6104d3e5c18faf7f6f9e44b518839f.zip opensim-SC_OLD-ab5556055e6104d3e5c18faf7f6f9e44b518839f.tar.gz opensim-SC_OLD-ab5556055e6104d3e5c18faf7f6f9e44b518839f.tar.bz2 opensim-SC_OLD-ab5556055e6104d3e5c18faf7f6f9e44b518839f.tar.xz |
* Theoretically, everything is in place for scripted take controls... Theoretically.
* I've still got to test, it's still theoretical code :D. Good thing it isn't enabled by default!
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs index 77a4048..f8f38a1 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs | |||
@@ -225,9 +225,9 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
225 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "no_sensor", EventQueueManager.llDetectNull); | 225 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "no_sensor", EventQueueManager.llDetectNull); |
226 | } | 226 | } |
227 | 227 | ||
228 | public void control(uint localID, LLUUID itemID) | 228 | public void control(uint localID, LLUUID itemID, LLUUID agentID, uint held, uint change) |
229 | { | 229 | { |
230 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "control", EventQueueManager.llDetectNull); | 230 | myScriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "control", EventQueueManager.llDetectNull, new object[] { new LSL_Types.LSLString(agentID.ToString()), new LSL_Types.LSLInteger(held), new LSL_Types.LSLInteger(change)}); |
231 | } | 231 | } |
232 | 232 | ||
233 | public void email(uint localID, LLUUID itemID) | 233 | public void email(uint localID, LLUUID itemID) |