From 6fbc64af5e2d179e2235f21645dd717a4066592d Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Mon, 4 Feb 2008 10:39:30 +0000 Subject: * Whole buncha stuff. --- OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs') 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 World.SendGeneralAlert(msg); } + public void osSetRot(LLUUID target, Quaternion rotation) + { + if (World.Entities.ContainsKey(target)) + { + World.Entities[target].Rotation = rotation; + } + else + { + LSLError("osSetRot: Invalid target"); + } + } + public string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams, int timer) { -- cgit v1.1