Aggregate¶
Purpose¶
Execute every child in order and reduce all child results to one boolean result.
Key inputs / outputs¶
- Inputs:
events(NodeReference[]) andresultMode. - Output: one aggregated success or failure result.
Success / Failure semantics¶
Allreturns success only when every child succeeds; an empty Aggregate succeeds.Anyreturns success when at least one child succeeds; an empty Aggregate fails.Trueruns every child and then returns success; an empty Aggregate succeeds.Falseruns every child and then returns failure; an empty Aggregate fails.- Normal child success or failure never short-circuits execution.
- Errors, exceptions, and interruption are propagated by the behaviour tree and are not converted to ordinary failure.