State Machines adds a State Machine component and a graph editor to Visual Script.A State Machine runs one state at a time. What each state does, and when it changes to another, is made with the Triggers, Conditions and Instructions of Visual Script. The graph shows the structure, and the logic stays the one you already know: there is no second scripting language to learn.Create states with a double-click, drag to connect them, and edit everything in the side panel without leaving the graph. Each state has On Enter and On Exit instructions and its own Events that only react while it is the current state. A transition has Triggers that say when to check it and Conditions that say if it passes. Any State leads to a state from everywhere.While the game plays, the graph highlights the current state with the time spent in it, the state it came from and a history of the latest changes.The graph marks what looks wrong on the state or the arrow itself: a transition to a state that no longer exists, a state nothing leads to, two states with the same name.It suits characters, enemies, doors, game flow, UI screens and anything else with distinct modes, in any genre.Requires Visual Script by Catsoft Works (free).






