-
-
Notifications
You must be signed in to change notification settings - Fork 0
Composite
Sam Orme edited this page Feb 20, 2022
·
4 revisions
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.
Composite nodes support aborting. Aborting allows the node to interrupt nodes lower than the composite, and / or cancel the execution of the composite.
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.
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.