public override bool Test(Sim a, Sim target, bool isAutonomous, ref GreyedOutTooltipCallback greyedOutTooltipCallback)
            {
                Boolean result = false;

                if (PoseManager.IsPosing(target))
                {
                    string posename = PoseManager.GetCurrentPose(target);
                    if (posename != null)
                    {
                        if (CmoPoseBox.myList.Contains(posename))
                        {
                            result = true;
                        }
                    }
                }
                return(result);
            }
Exemple #2
0
 public override bool Test(Sim actor, Sim target, bool isAutonomous, ref Sims3.SimIFace.GreyedOutTooltipCallback greyedOutTooltipCallback)
 {
     return(PoseManager.IsPosing(target) && !isAutonomous);
 }
 public override bool Test(Sim a, Sim target, bool isAutonomous, ref GreyedOutTooltipCallback greyedOutTooltipCallback)
 {
     return(PoseManager.IsPosing(target) && !isAutonomous && PoseManager.IsPoseBoxAvailable());
 }