The EndAction(null) is a special EndAction call used when we want to interrupt the action and reset it completely. It is also used from within nodes like Behaviour Tree Action Node; when the node resets it calls EndAction(null) to interrupt the action and reset it, since in these cases we do not care about success or failure (this is why manually resetting all nodes afterwards also resets the action). So is the same case when the graph is to be stoped from within the action, meaning that we do not care about whether the action ended in success or failure. We just want to end and reset it. Thus in these cases, the special call EndAction(null) can be used.
Please let me know if this information helps.
Thank you!
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.