Hi,
after implementing my first AI I have some suggestions:
Make the nested BTs also a superstate with onEnter, onUpdate and onExit. Can’t you just make every state a superstate with those Action lists, maybe behind a toggle, to toggle them on and off? You can simulate those with “pre-on-attack” states where the attack state would be a BT, but that’s kind of hackish imo.
Also, quite annoying, when duplicating a bunch of nodes at the same time, the don’t become selected. Please select all the duplicated nodes automatically so you can move them out of the way. Now all the nodes are between the other ones and you have to drag them out one by one.
Hello,
Thanks! I am glad you like NC thus far 🙂
The ability for SubBTState and SubFSMState to have OnEnter, OnUpdate and OnExit action list is already in the works and will hopefully be there in the next update as so will auto-selecting multiple duplicate nodes.
taking a look at this video (which is pretty interesting btw 🙂 ) – have you thought about children having the possibility to have multiple parents? If multiple nodes had the same child(ren), you could avoid copy paste.
Well, it is quite contradictory to Behaviour Tree implementations for nodes to have multiple parents and although of course it can be done I unfortunately don’t think I will implement such an ability in NodeCanvas Behaviour Trees, because it will change the whole design paradigm of how BTs were working up until now :-(. “Never say never” though 🙂
What video are you referring to by they way? I think you forgot the link 🙂