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:42] – maxime | behavior-trees [2021/07/29 11:56] (current) – maxime | ||
---|---|---|---|
Line 2: | Line 2: | ||
You can find an example of behavior tree and behavior tree node creation in the following mods: | You can find an example of behavior tree and behavior tree node creation in the following mods: | ||
- | * '' | + | * '' |
* '' | * '' | ||
Line 45: | 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.1595011343.txt.gz · Last modified: 2020/07/17 14:42 by maxime