public void Evaluate(GameTime gameTime, object Input, out bool IsCompleted, out List <object> Result) { double TargetAngle = (double)ArrayReferences[0].ReferencedScript.GetContent(); RobotAnimation CurrentRobot = Info.Owner; float FinalAngle = MathHelper.ToRadians((float)TargetAngle); CurrentRobot.Weapons.ActivePrimaryWeapons[_WeaponIndex].WeaponAngle = FinalAngle; CurrentRobot.UpdatePrimaryWeaponAngle(FinalAngle, _WeaponIndex); Result = new List <object>(); IsCompleted = true; }