aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-04-25 01:00:55 +0000
committerTeravus Ovares2008-04-25 01:00:55 +0000
commit9468917b5f6ba6556bd9605e88227ea79e43d94e (patch)
tree7e175b228a221dfcf2f16a2d86a5f3f50f0b2a1e /OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
parent* Tuned the llMove2Target PID controller to be more reasonable and not oversh... (diff)
downloadopensim-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 'OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 35f8ee0..79b13cf 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -1181,14 +1181,14 @@ namespace OpenSim.Region.ScriptEngine.Common
1181 public int llTarget(LSL_Types.Vector3 position, double range) 1181 public int llTarget(LSL_Types.Vector3 position, double range)
1182 { 1182 {
1183 m_host.AddScriptLPS(1); 1183 m_host.AddScriptLPS(1);
1184 NotImplemented("llTarget"); 1184 return m_host.registerTargetWaypoint(new LLVector3((float)position.x, (float)position.y, (float)position.z), (float)range);
1185 return 0; 1185
1186 } 1186 }
1187 1187
1188 public void llTargetRemove(int number) 1188 public void llTargetRemove(int number)
1189 { 1189 {
1190 m_host.AddScriptLPS(1); 1190 m_host.AddScriptLPS(1);
1191 NotImplemented("llTargetRemove"); 1191 m_host.unregisterTargetWaypoint(number);
1192 } 1192 }
1193 1193
1194 public int llRotTarget(LSL_Types.Quaternion rot, double error) 1194 public int llRotTarget(LSL_Types.Quaternion rot, double error)