Hello,
I am testing how easy it is to achieve Hierarchical Finite State Machine Behaviour Tree Hybrid (HFSMBTH) AI system with logic toolkit.
At the moment I came up with a design where each state node has two tasks:
1. State Update: The task runs the AI logic in this state (mainly a behavior tree).
2. State Transition: The task runs the logic to check whether or not a state transition should happen.
An example can be found in this screenshot:

- Screenshot 2025-04-25 012211.png (143.87 KiB) Viewed 146 times
The transition task of the state "Calculate Path" spits out two bools to indicate which state to transition to if the Completed signal is emitted.
At the moment I can only achieve this by using two Branch nodes to properly transition to the right states based on the boolean value.
This can become messy easily if there are more possible states to transition to.
Therefore, it will be really nice to have a "If Branch" node and a "Switch Branch" node that,
instead of outputting execution ports, they output transition/signal ports instead.
Unless there is already some other ways I can achieve this without having multiple Branch nodes?
Or maybe there should be some ways to define multiple output transition ports for a task graph on completion?
Thank you!