Reply To: BT and sub FSMs question

NodeCanvas Forums General Discussion BT and sub FSMs question Reply To: BT and sub FSMs question

#11344
feelx
Participant

Hi,

first of all thanks for your quick answer(s), as always :).
What I’m trying to do is have several checks going on at the same time while the FSM with the “main character logic” with nested BTs is running. I need to check if the character is engaged in a fight (how close, line of sight, inside sensor etc) or set some variables if sensors are entered/exited. Since I want these checks to run all the time and don’t want to copy paste them to different states (meaning different BTs) I somehow can’t see how I could achieve that with the anystate, since then I’d have to add more states just for setting variables (?).
I hope you understand what I mean.