From c2863df49d3bd1f4f7c2f4c17d897d9f66b36b26 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Thu, 17 Jan 2008 02:23:48 +0000 Subject: * 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 --- OpenSim/Region/Environment/Scenes/Scene.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs') 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 return avatar; } + protected void GetAvatarAppearance(IClientAPI client, out AvatarAppearance appearance) { if (m_AvatarFactory == null || @@ -2190,6 +2191,12 @@ namespace OpenSim.Region.Environment.Scenes scriptEngine.InitializeEngine(this, logger); } + public void TriggerObjectChanged(uint localID, uint change) + { + + m_eventManager.TriggerOnScriptChangedEvent(localID, change); + } + #endregion #region InnerScene wrapper methods -- cgit v1.1