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

Add infinite loop to behavior tree 'Loop' decorator. #2043

Merged
merged 2 commits into from Dec 8, 2023

Conversation

Menotdan
Copy link
Contributor

@Menotdan Menotdan commented Dec 8, 2023

No description provided.

@Menotdan Menotdan changed the title Add infinite loop to behavior tree loop decorator. Add infinite loop to behavior tree 'Loop' decorator. Dec 8, 2023
@mafiesto4 mafiesto4 added enhancement New feature or request ai Behavior Trees and AI tools labels Dec 8, 2023
@flaxtechnology flaxtechnology merged commit c3b6dd9 into FlaxEngine:master Dec 8, 2023
10 checks passed
@NatreexTV
Copy link

Maybe not an infinite one, but loop based on bool. While thid condition is, continue, even if the sequence fail or sucess.

@Menotdan
Copy link
Contributor Author

Menotdan commented Dec 8, 2023

Maybe not an infinite one, but loop based on bool. While thid condition is, continue, even if the sequence fail or sucess.

You can do this already with knowledge coniditional paired with the loop. Just put a knowledge conidtional decorator, set your condition, put the loop decorator and set to infinite, and then it will end when the condition is false.

@mafiesto4 mafiesto4 added this to the 1.8 milestone Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ai Behavior Trees and AI tools enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants