Documentation index for AI agents (llms.txt) A Markdown version of every page is available: request the page's source under /docs/, follow the "alternate" link in this page's head, or start from /llms.txt.
Visual Script logo Manual

Has Any Saved Game#

Save & Load / Has Any Saved Game

  • Can Read

  • Cannot Write

Description#

Returns true if there is a least one saved game

Code#

using System;
using VisualScript.Icons;

namespace VisualScript.Runtime
{
    [Get]
    
    [Title("Has Any Saved Game")]
    [Category("Save & Load/Has Any Saved Game")]
    
    [Description("Returns true if there is a least one saved game")]
    [Image(typeof(IconDiskSolid), ColorTheme.Type.Lime)]
    
    [Keywords("Save", "Load", "Slot")]
    
    [Serializable]
    public class TypeBoolHasAnySave : TypeBool
    {
        public override bool Get(Args args)
        {
            return SaveLoadManager.HasAnyProfileSaved();
        }

        public override string ToString()
        {
            return "Has any Save";
        }
    }
}
Visual Script logoVisual Script © Catsoft Works 2026. All rights reserved.