aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-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)