FSM – Manual Check

FlowCanvas Forums Support FSM – Manual Check

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3557
    tomas.trescak
    Participant

    Hello, maybe I’m overthinking this too much. But I have a “Check Event” on my connection between FSM nodes. The FSM is a network of SubFlow nodes, where in the FlowNode I call the transition events.

    It seems an overkill to check continuously for the event. Thus, I saw you have the “Manual Check” flag. But, how do I notify the FSM to check after I raise an event in my Flow machine?

    #3558
    tomas.trescak
    Participant

    That being said, I saw that my “Check Event” did recieve my event, but the transition did not happen as the check on the transition did not happen.

    #3568
    Gavalakis
    Keymaster

    Hello,

    “Manual Check” be done only through code by having a reference of the state, which for example you can get with the API of the FSM class and was initially added only for being used through code. HOWEVER, I would advise against it since it is something that is definitely going to be removed in future update since it is rather a leftover feature that sometimes confuse people.

    With that said, “Check Event” condition task, even every frame, in itself has pretty much zero performance impact since its update code is simply this:

    Regarding your 2nd post about the transition not happening, I just did a test and it’s working correctly. Can you please confirm that the Check Event and Send Event are using the same name (its case sensitive) and that the target GraphOwner of both are the same GraphOwner?

    Let me know. Thank you.

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.