StateTick Docs Home →
States

Generic Actions

A generic action is a typed setter with no target chosen yet. It says “set some Bool to true” — and you pick which equipment variable when the state is instantiated in a composite. It is the state-action equivalent of a placeholder.

Where they live

Generic setters sit at the top of the Equipment Action dialog, under Generic Equipment — one per type: Bool, Int, Double, String. Select Generic Set (Bool), choose a value, and the Result shows the un-bound setter:

The Configure Equipment Action dialog with Generic Equipment expanded to Generic Set (Bool/Int/Double/String); Generic Set (Bool) is selected, value true, Result reads Generic.Set[Bool](true)
Generic.Set[Bool](true) — a typed setter with no equipment attached.
Generic.Set[Bool](true)
Generic.Set[Int](42)
Generic.Set[Double](3.14)

From-value and generic timers

A generic setter can also take its value from another generic placeholder, and there is a generic timer variant with no timer placeholder attached:

Generic.Set[Bool](Generic.From[Bool])   // value from another generic slot
Generic.Timer.Start()                 // generic timer, bound later
Generic.Timer.SetPreset(5000)

Equipment vs Global vs Generic. An equipment action targets a named equipment template; a global action targets a concrete global; a generic action targets nothing yet. In the composite, the whole generic action is replaced with the equipment path you pick — so one generic state can drive completely different variables in different machines.