mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
* 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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user