aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-04-06 13:48:28 +0000
committerAdam Frisby2008-04-06 13:48:28 +0000
commit996309a6e1ee47d96d81c0bdfdd5bfc27db66efd (patch)
tree9b9208a28969785a459e30de3ce9f260beb26201 /OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
parent* Fixed up some documentation (diff)
downloadopensim-SC_OLD-996309a6e1ee47d96d81c0bdfdd5bfc27db66efd.zip
opensim-SC_OLD-996309a6e1ee47d96d81c0bdfdd5bfc27db66efd.tar.gz
opensim-SC_OLD-996309a6e1ee47d96d81c0bdfdd5bfc27db66efd.tar.bz2
opensim-SC_OLD-996309a6e1ee47d96d81c0bdfdd5bfc27db66efd.tar.xz
* Various terrain engine fixes
* Includes patch #894 fixes for terrain load-tile * Large number of other terrain fixes and new commands included.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 76be7cf..9567d80 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -5119,6 +5119,25 @@ namespace OpenSim.Region.ScriptEngine.Common
5119 } 5119 }
5120 } 5120 }
5121 5121
5122 // Adam's super super custom animation functions
5123 public void osAvatarPlayAnimation(string avatar, string animation)
5124 {
5125 if (World.Entities.ContainsKey(avatar) && World.Entities[avatar] is ScenePresence)
5126 {
5127 ScenePresence target = (ScenePresence)World.Entities[avatar];
5128 target.AddAnimation(avatar, 0);
5129 }
5130 }
5131
5132 public void osAvatarStopAnimation(string avatar, string animation)
5133 {
5134 if (World.Entities.ContainsKey(avatar) && World.Entities[avatar] is ScenePresence)
5135 {
5136 ScenePresence target = (ScenePresence)World.Entities[avatar];
5137 target.RemoveAnimation(animation);
5138 }
5139 }
5140
5122 //Texture draw functions 5141 //Texture draw functions
5123 public string osMovePen(string drawList, int x, int y) 5142 public string osMovePen(string drawList, int x, int y)
5124 { 5143 {