This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
dragengine:modules:dragonscript:behaviortrees [2025/03/13 18:30] – ↷ Page moved and renamed from formats:modules:debtree:xml_behavior_tree_file_.debtree to dragengine:modules:dragonscript:behaviortrees dragonlord | dragengine:modules:dragonscript:behaviortrees [2025/03/13 18:31] (current) – dragonlord | ||
---|---|---|---|
Line 4: | Line 4: | ||
</ | </ | ||
- | ====== Behavior | + | ====== Behavior |
- | + | ||
- | The behavior tree file format is recognized by the LoadBehaviorTree script class. The file is an XML file with a simple structure to define a behavior tree using XML. | + | |
Behavior trees are structured graphics describing the AI logic using a tree of rules. The behavior tree is at all times located at one of the rules in the tree. During each simulation step (typically during frame update) the behavior tree moves along the tree until an rule returns either '' | Behavior trees are structured graphics describing the AI logic using a tree of rules. The behavior tree is at all times located at one of the rules in the tree. During each simulation step (typically during frame update) the behavior tree moves along the tree until an rule returns either '' | ||
Line 70: | Line 68: | ||
The main use for this rule is to force waiting until a rule conditions fails. | The main use for this rule is to force waiting until a rule conditions fails. | ||
- | ====== | + | |
+ | ====== | ||
+ | |||
+ | The behavior tree file format is recognized by the LoadBehaviorTree script class. The file is an XML file with a simple structure to define a behavior tree using XML. | ||
<uml> | <uml> | ||
@startuml | @startuml |