aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 3d5f106..76183ae 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -3199,6 +3199,18 @@ namespace OpenSim.Region.ScriptEngine.Common
3199 World.SendGeneralAlert(msg); 3199 World.SendGeneralAlert(msg);
3200 } 3200 }
3201 3201
3202 public void osSetRot(LLUUID target, Quaternion rotation)
3203 {
3204 if (World.Entities.ContainsKey(target))
3205 {
3206 World.Entities[target].Rotation = rotation;
3207 }
3208 else
3209 {
3210 LSLError("osSetRot: Invalid target");
3211 }
3212 }
3213
3202 public string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams, 3214 public string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams,
3203 int timer) 3215 int timer)
3204 { 3216 {