aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase
diff options
context:
space:
mode:
authorTedd Hansen2008-02-10 22:36:01 +0000
committerTedd Hansen2008-02-10 22:36:01 +0000
commit44058f8ae6c02d01350bfe16c8ee00017d949fcc (patch)
tree4be3881cd4fc8f9035d5936b29c8c0a929c7ad49 /OpenSim/Region/ScriptEngine/Common/ScriptEngineBase
parentWe now support LSL state (diff)
downloadopensim-SC-44058f8ae6c02d01350bfe16c8ee00017d949fcc.zip
opensim-SC-44058f8ae6c02d01350bfe16c8ee00017d949fcc.tar.gz
opensim-SC-44058f8ae6c02d01350bfe16c8ee00017d949fcc.tar.bz2
opensim-SC-44058f8ae6c02d01350bfe16c8ee00017d949fcc.tar.xz
state_entry is now executed on state change.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs
index 1de010a..607a4ff 100644
--- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs
+++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs
@@ -83,6 +83,12 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
83 myScriptEngine.m_EventQueueManager.AddToObjectQueue(localID, "changed", EventQueueManager.llDetectNull, new object[] { (int)change }); 83 myScriptEngine.m_EventQueueManager.AddToObjectQueue(localID, "changed", EventQueueManager.llDetectNull, new object[] { (int)change });
84 } 84 }
85 85
86 public void state_entry(uint localID)
87 {
88 // Add to queue for all scripts in ObjectID object
89 myScriptEngine.m_EventQueueManager.AddToObjectQueue(localID, "state_entry", EventQueueManager.llDetectNull, new object[] { });
90 }
91
86 public void touch_start(uint localID, LLVector3 offsetPos, IClientAPI remoteClient) 92 public void touch_start(uint localID, LLVector3 offsetPos, IClientAPI remoteClient)
87 { 93 {
88 // Add to queue for all scripts in ObjectID object 94 // Add to queue for all scripts in ObjectID object