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?
“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:
1
2
3
protectedoverrideboolOnCheck(){returnfalse;}
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
Author
Posts
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
Login
Register
By registering on this website you agree to our Privacy Policy.