Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

spool / SequenceStep

Interface: SequenceStep โ€‹

Defined in: plugins/sequence/index.ts:17

One step: runs when the entity's timer is in at (every tick if left out).

Properties โ€‹

at? โ€‹

optional at?: Range

Defined in: plugins/sequence/index.ts:18


only? โ€‹

optional only?: (s) => Selector

Defined in: plugins/sequence/index.ts:20

Narrows which running entities run it.

Parameters โ€‹

s โ€‹

Selector

Returns โ€‹

Selector


run โ€‹

run: (ctx) => void

Defined in: plugins/sequence/index.ts:25

Parameters โ€‹

ctx โ€‹

FunctionContext

Returns โ€‹

void


timerOf? โ€‹

optional timerOf?: () => Selector

Defined in: plugins/sequence/index.ts:24

Whose timer at reads (from where who stands). Default: the entity itself.

Returns โ€‹

Selector


who? โ€‹

optional who?: () => Selector

Defined in: plugins/sequence/index.ts:22

Runs it as other entities instead.

Returns โ€‹

Selector

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.