aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-01-17 02:23:48 +0000
committerTeravus Ovares2008-01-17 02:23:48 +0000
commitc2863df49d3bd1f4f7c2f4c17d897d9f66b36b26 (patch)
tree8d2c29d6623d9e5c61634e8f7a742858eee2a5db /OpenSim/Region/Environment/Scenes/Scene.cs
parent* Fixed standing up so that you're at the new position of the prim if you mov... (diff)
downloadopensim-SC-c2863df49d3bd1f4f7c2f4c17d897d9f66b36b26.zip
opensim-SC-c2863df49d3bd1f4f7c2f4c17d897d9f66b36b26.tar.gz
opensim-SC-c2863df49d3bd1f4f7c2f4c17d897d9f66b36b26.tar.bz2
opensim-SC-c2863df49d3bd1f4f7c2f4c17d897d9f66b36b26.tar.xz
* Added and implemented the LSL changed event.
* An example changed event syntax is at: http://opensimulator.org/wiki/Changed_Event_Example * You can use this to trigger actions in your script if someone sits on your object_rez * You can use this to figure out all of the CHANGED_ constants except for CHANGED_REGION, CHANGED_TELEPORT, and CHANGED_ALLOW_DROP
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 449e1d2..3a0e1b9 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -1249,6 +1249,7 @@ namespace OpenSim.Region.Environment.Scenes
1249 return avatar; 1249 return avatar;
1250 } 1250 }
1251 1251
1252
1252 protected void GetAvatarAppearance(IClientAPI client, out AvatarAppearance appearance) 1253 protected void GetAvatarAppearance(IClientAPI client, out AvatarAppearance appearance)
1253 { 1254 {
1254 if (m_AvatarFactory == null || 1255 if (m_AvatarFactory == null ||
@@ -2190,6 +2191,12 @@ namespace OpenSim.Region.Environment.Scenes
2190 scriptEngine.InitializeEngine(this, logger); 2191 scriptEngine.InitializeEngine(this, logger);
2191 } 2192 }
2192 2193
2194 public void TriggerObjectChanged(uint localID, uint change)
2195 {
2196
2197 m_eventManager.TriggerOnScriptChangedEvent(localID, change);
2198 }
2199
2193 #endregion 2200 #endregion
2194 2201
2195 #region InnerScene wrapper methods 2202 #region InnerScene wrapper methods