Reply To: Communicating between BT and FSM

NodeCanvas Forums Support Communicating between BT and FSM Reply To: Communicating between BT and FSM

#12471
nodeshelp
Participant

>> Can you please provide a bit more information as of why the waypoints have an FSM and what is the functionality of that waypoints FSMs?

In my game the waypoints are not simply Vector3 coordinates. They are sort of “intelligent”. For example, they change textures depending on whether the NPC is nearby. They will give the next waypoint only after the NPC provides a “password”, etc. It seems that FSM is the most logical way to go, but I’m open to suggestions šŸ™‚

Thank you for explaining ā€œGet Other Blackboard Variableā€ and ā€œSet Other Blackboard Variableā€ actions. I think this should work in my situation. But I was also thinking about building a custom action that would encapsulate a function call to the waypoint that would return the next waypoint. This seems to be more straight-forward. Do you think there are any disadvantages in doing that vs. what you described? Thanks again!