FSM finishing

This topic contains 2 replies, has 2 voices, and was last updated by  mgb 5 months, 2 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #12585


    Looking into why my FSM never calls the finish callback.
    Saw this in the changelog:
    “New: FSMs will now not be Finished/Stopped if there is an AnyState node active”

    So if there’s an AnyState node my FSM won’t finish now, even if it hits a state with no transitions?




    Yes that is correct. Even if the FSM hits a state without transitions, but the FSM has any AnyState node active, it will not “Finish”, because considering the fact that there is an AnyState node in the FSM, the FSM can potentially transition and continue, even from the state without outgoing transitions at any time. Thus it is never considered “Finished” in that case.
    You can however if required to finish the FSM, use the “Force Finish Graph” action task at a state of your choosing.

    Let me know if that works for you.



    Ah ok got it, thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.