I just tested this out to confirm by creating a BehaviourTree with a Sequencer and a few nested flowscripts beneath it, similar to your example and it works as expected. The OnEnable event is called correctly in all nested flowscript nodes in order of execution, even in the first nested flowscript node as it should. :/
Using the OnEnable, OnUpdate and OnDisable are the correct events to use for nested flowscripts in a Behaviour Tree. What do you mean by slowdowns though? Do you mean performance wise?
Can you please send me the project to ‘support_AT_paradoxnotion.com’ so that I can check it out and see exactly what can potentially be going wrong here, cause I can’t find any bug, or reproduce the error you are facing in any way? The OnEnable is called correctly in all nodes here.
Let me know.
Thanks
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.