aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation
diff options
context:
space:
mode:
authorCharles Krinke2008-10-22 14:09:58 +0000
committerCharles Krinke2008-10-22 14:09:58 +0000
commit809a1d3367e3a8f69ae101c660ef0f3b8a5b9a43 (patch)
tree847d449dc80a384ddd9008d778060d558200e167 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation
parentThank you both Nlin and M.Igarashi for a patch that: (diff)
downloadopensim-SC_OLD-809a1d3367e3a8f69ae101c660ef0f3b8a5b9a43.zip
opensim-SC_OLD-809a1d3367e3a8f69ae101c660ef0f3b8a5b9a43.tar.gz
opensim-SC_OLD-809a1d3367e3a8f69ae101c660ef0f3b8a5b9a43.tar.bz2
opensim-SC_OLD-809a1d3367e3a8f69ae101c660ef0f3b8a5b9a43.tar.xz
Thank you kindly, Nlin for a patch that:
Attached patch adds detection of AGENT_WALKING status to LSL function llGetAgentInfo()
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 4c4d173..9745ae6 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -4671,6 +4671,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
4671 flags |= ScriptBaseClass.AGENT_TYPING; 4671 flags |= ScriptBaseClass.AGENT_TYPING;
4672 } 4672 }
4673 4673
4674 string agentMovementAnimation = agent.GetMovementAnimation();
4675 if (agentMovementAnimation == "WALK" || agentMovementAnimation == "CROUCHWALK")
4676 {
4677 flags |= ScriptBaseClass.AGENT_WALKING;
4678 }
4679
4674 //NotImplemented("llGetAgentInfo"); 4680 //NotImplemented("llGetAgentInfo");
4675 4681
4676 return flags; 4682 return flags;