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

[REQUEST] Could we get a master blackboard type behavior? #13

Open
Oddlaceguy49 opened this issue May 20, 2024 · 3 comments
Open

[REQUEST] Could we get a master blackboard type behavior? #13

Oddlaceguy49 opened this issue May 20, 2024 · 3 comments

Comments

@Oddlaceguy49
Copy link

It would be awesome if we could get some sort of master blackboard or blackboard inheritance where all blackboards can share a key with one blackboard.

@thekiwicoder0
Copy link
Owner

Could you describe the context you need this for? Just trying to work out if you want to share blackboard key values between multiple agents at runtime for communication, or just have common settings that can be overridden per agent (speed etc)

@Oddlaceguy49
Copy link
Author

Oddlaceguy49 commented Aug 8, 2024

Sorry for not responding sooner. This feature would be useful to avoid duplicating information. An example of this would be when want to give all enemies on the map, the position of the player. Instead of sending the position to every single blackboard, we could send it to one master blackboard, and have every enemy inherit from that. I have already implemented a crude version of the system, which allows a behavior tree to inherit from another dummy behavior, tree which acts as the master. What makes this problem so hard is that currently to behavior tree and the blackboard are tied together at once. I can upload my implementation if you like.

@Oddlaceguy49
Copy link
Author

I have also designed a node picture inheritance system that operates as a singleton scriptable object. It allows you to assign a picture to all nodes, a sub group, or an individual node, with each level overriding the higher one.

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