Skip to content

1681-engine / index / ActionOptions

Interface: ActionOptions<C> ​

Defined in: src/ai/behaviorTree.ts:318

Type Parameters ​

Type Parameter
C

Properties ​

onHalt? ​

ts
optional onHalt?: (ctx) => void;

Defined in: src/ai/behaviorTree.ts:320

The action was running and the tree left it (a higher branch took over): stop what it started.

Parameters ​

ParameterType
ctxC

Returns ​

void

Released under the MIT License.