/tg/ Station 13 - Modules - TypesVar Details

sequence

Sequence node: ticks children in order. Returns BT_FAILURE on first child failure. Returns BT_RUNNING on first child returning BT_RUNNING (stops further evaluation). Returns BT_SUCCESS only if all children succeed.

Resumes from the last RUNNING child index rather than restarting from child 1.

Vars

running_child_indexIndex of the child that last returned BT_RUNNING.

Var Details

running_child_index

Index of the child that last returned BT_RUNNING.