diff options
author | Teravus Ovares | 2008-04-25 01:00:55 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-04-25 01:00:55 +0000 |
commit | 9468917b5f6ba6556bd9605e88227ea79e43d94e (patch) | |
tree | 7e175b228a221dfcf2f16a2d86a5f3f50f0b2a1e /OpenSim/Region/Environment/Scenes/Scene.cs | |
parent | * Tuned the llMove2Target PID controller to be more reasonable and not oversh... (diff) | |
download | opensim-SC-9468917b5f6ba6556bd9605e88227ea79e43d94e.zip opensim-SC-9468917b5f6ba6556bd9605e88227ea79e43d94e.tar.gz opensim-SC-9468917b5f6ba6556bd9605e88227ea79e43d94e.tar.bz2 opensim-SC-9468917b5f6ba6556bd9605e88227ea79e43d94e.tar.xz |
* Implements llTarget, llTargetRemove, at_target(), not_at_target()
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 21c8991..ae914b3 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -2772,6 +2772,17 @@ namespace OpenSim.Region.Environment.Scenes | |||
2772 | m_eventManager.TriggerOnScriptChangedEvent(localID, change); | 2772 | m_eventManager.TriggerOnScriptChangedEvent(localID, change); |
2773 | } | 2773 | } |
2774 | 2774 | ||
2775 | public void TriggerAtTargetEvent(uint localID, uint handle, LLVector3 targetpos, LLVector3 currentpos) | ||
2776 | { | ||
2777 | |||
2778 | m_eventManager.TriggerAtTargetEvent(localID, handle, targetpos, currentpos); | ||
2779 | } | ||
2780 | |||
2781 | public void TriggerNotAtTargetEvent(uint localID) | ||
2782 | { | ||
2783 | m_eventManager.TriggerNotAtTargetEvent(localID); | ||
2784 | } | ||
2785 | |||
2775 | private bool scriptDanger(SceneObjectPart part,LLVector3 pos) | 2786 | private bool scriptDanger(SceneObjectPart part,LLVector3 pos) |
2776 | { | 2787 | { |
2777 | ILandObject parcel = LandChannel.getLandObject(pos.X, pos.Y); | 2788 | ILandObject parcel = LandChannel.getLandObject(pos.X, pos.Y); |