Thank you kindly, Nlin for a patch that:

Attached patch adds detection of AGENT_WALKING 
status to LSL function llGetAgentInfo()
This commit is contained in:
Charles Krinke
2008-10-22 14:09:58 +00:00
parent 3c99f027b5
commit 809a1d3367
2 changed files with 7 additions and 1 deletions

View File

@@ -4671,6 +4671,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
flags |= ScriptBaseClass.AGENT_TYPING;
}
string agentMovementAnimation = agent.GetMovementAnimation();
if (agentMovementAnimation == "WALK" || agentMovementAnimation == "CROUCHWALK")
{
flags |= ScriptBaseClass.AGENT_WALKING;
}
//NotImplemented("llGetAgentInfo");
return flags;