Replies: 1 comment 6 replies
-
I'm not sure I understand what's on your end, but in general btnodes return either a function state if they are running or a bool (succeed() and fail()) if not running (hence completed). Are you defining your own custom composite in the code you showed above? Cheers, Kage |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I've been building a tree with your plugin, thank you for your work! However, on execution I am getting an error on a BTSelector node. The child leaf returns suceed(), and this causes a problem because the BTSelector expects a GDScriptFunctionState as a result from its children:
This is a different behavior than other compositors which take an untyped result and only then check if it's a GDScriptFunctionState. So I'm assuming this is not the correct behavior, or am I missing something?
Edit: I removed the typed declaration and now it works as expected.
Cheers, Onyx
Beta Was this translation helpful? Give feedback.
All reactions