*TEST* avatar unscripted sit. Some guessing/automation

This commit is contained in:
UbitUmarov
2013-01-02 19:39:46 +00:00
parent 2313a86e32
commit 7980a1d849
6 changed files with 821 additions and 348 deletions

View File

@@ -2280,8 +2280,10 @@ namespace OpenSim.Region.Framework.Scenes
ParentPart = part;
ParentID = part.LocalId;
Animator.TrySetMovementAnimation("SIT");
if(status == 3)
Animator.TrySetMovementAnimation("SIT_GROUND");
else
Animator.TrySetMovementAnimation("SIT");
SendAvatarDataToAllAgents();
part.ParentGroup.TriggerScriptChangedEvent(Changed.LINK);