Game Development Reference
In-Depth Information
Behavior tree helper functions
Four primary evaluators are used to process the behavior tree structure: selector evaluation,
sequence evaluation, actual node evaluation, and finally, a continue evaluation function that
continues where a sequence's child finishes:
BehaviorTree.lua
:
local EvaluateSelector;
local EvaluateSequence;