DEKI/ENGINE docs
manual api reference
deki-fsm 0.40.1
Deki package reference
deki-fsm

Visual state machines with per-state action stacks and event-wired transitions

Repository: github.com/dekiengine/deki-fsm · Latest release: 0.40.0 · Needs engine 0.40.0+ · Requires: deki-nodegraph, deki-2d, deki-tween

Install with DekiEditor --packages-add deki-fsm <project>, or from the Package Manager. The engine's own components and C++ API are in the Deki docs.

Shown in the editor as FSM.

Components

Component Category Description
FsmComponent Logic Runs a state machine graph asset on this object.

Feature flags

Parts you can leave out of a build. A feature with a define is switched there; the rest are stripped with their components.

Feature Define Default
FSM DEKI_FEATURE_FSM on

Component reference

FsmComponent

Runs a state machine graph asset on this object.

Inspector name: Fsm Component · Category: Logic · Type: DekiFsm::FsmComponent

Property Type Default Description
graph AssetRef (FsmGraph) "" The state machine asset this object runs. Author it in the node graph editor.
variableOverrides Array<string> [] This object's own starting values for the graph's variables, as name=value (e.g. speedHz=0.625).

Changelog

0.40.0

Changed

  • minEngine 0.40.0: built against engine 0.40.0. A build of this package from before does not load and is rebuilt.

0.22.0

Changed

  • minEngine 0.22.0: built against engine 0.22.0. A build of this package from before does not load and is rebuilt.

Earlier releases: CHANGELOG.md.


Generated from the package's reflection data (engine 0.40.1). Property names are the keys used in scene files. Renames keep an alias (compatibility).