Skip to content

Composite

Sam Orme edited this page Feb 20, 2022 · 4 revisions

What is a Composite?

A Composite is a node with one or more children. The composite node's result depends on it's children. During the time it is processing it's children it will return Running. The most commonly used composite node is the Sequencer.

Aborting

Composite nodes support aborting. Aborting allows the node to interrupt nodes lower than the composite, and / or cancel the execution of the composite.

Abort Type

Self - Aborts the execution of the composite if the condition returns false.

Lower - Aborts lower nodes than the composite, if the condition returns true.

Self & Lower - Combination of the above.

Abort Condition

A method which must return a boolean, required when the Abort Type is set. For example it could be a method that returns true if the NPC can see the player.

Clone this wiki locally