behavior-trees
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
behavior-trees [2020/07/17 14:29] – maxime | behavior-trees [2021/07/29 11:56] (current) – maxime | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Behavior Trees ====== | ====== Behavior Trees ====== | ||
- | You can find an example of behavior tree and behavior tree node creation in the '' | + | You can find an example of behavior tree and behavior tree node creation in the following mods: |
+ | * '' | ||
+ | * '' | ||
===== Register new behavior trees ===== | ===== Register new behavior trees ===== | ||
Line 43: | Line 45: | ||
==== Functions ==== | ==== Functions ==== | ||
- | A leaf node has three basic functions: '' | + | A leaf node has three basic functions: '' |
+ | |||
+ | === Init === | ||
+ | |||
+ | '' | ||
+ | |||
+ | ^ Name ^ Type ^ | ||
+ | | //'' | ||
+ | |||
+ | === Update | ||
+ | |||
+ | '' | ||
+ | |||
+ | ^ Name ^ Type ^ | ||
+ | | //'' | ||
+ | | //'' | ||
+ | |||
+ | === Finish === | ||
+ | |||
+ | '' | ||
+ | |||
+ | ^ Name ^ Type ^ | ||
+ | | //'' | ||
When a node is executed, the '' | When a node is executed, the '' | ||
You can access all of the node's variables in those functions with '' | You can access all of the node's variables in those functions with '' |
behavior-trees.txt · Last modified: 2021/07/29 11:56 by maxime