Forums › 💬 NodeCanvas › 🗨️ General Discussion › Create a BT, FSM or DT by script in running time
Is possible to create by code a BT, FSM or DT?
For example to create an script, that runs some instructions like: State node = new StateNode(); Task task = new Task(WaitUntil); node.addTast(task);
Is there an api and/or samples of the that?
thanks in advance
Hello,
Yes, that is quite possible. Here is an example of creating a Behaviour Tree:
I will create some more similar examples and add a new section in the documentation. Meanwhile, if you have any questions on this, just let me know.
Thanks
Good! xD
Thanks a lot.