Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No way to use OR statements and a add node bug! #48

Open
Adam27092008 opened this issue Mar 26, 2022 · 1 comment
Open

No way to use OR statements and a add node bug! #48

Adam27092008 opened this issue Mar 26, 2022 · 1 comment

Comments

@Adam27092008
Copy link

While using the statemachine, I found that there is no option for "or" statements. What I mean is that when you need to check if either one of two requirements are met instead of checking if both requirements are met. Is there something I missed. BTW, there is a bug I found, there are two state-machine player nodes and two stack player nodes when you use the add child node. What I mean is:
Some node
Animation player
Stack player
Stack player
State-machine player
State-machine player
Tween
Some other node
Some other other node

@imjp94
Copy link
Owner

imjp94 commented Mar 26, 2022

"Or" statement is not supported yet, current workaround would be simply comparing with "or" statement in script.
It will be supported in the form of "ExpressionCondition"(#31).

While for the bug, would you mind to upload a minimal reproduction project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants