Reply To: SubTrees: How to pass down agent and blackboard of the root BT?

NodeCanvas Forums Support SubTrees: How to pass down agent and blackboard of the root BT? Reply To: SubTrees: How to pass down agent and blackboard of the root BT?

#15020
kylerberry
Participant

Hi, thanks so much for the thorough response.

I’m glad to see that I wasn’t going crazy, every time I tried to piece-together a solution, it sort of felt like it was flying in the face of the NC patterns already in-place. This explains why I couldn’t get those variables to map manually, I didn’t realize they had different refs.

I will take a look at the post to see their solution. Though, I’d like to do as minimal home-rolling a solution as possible since I’m still new to C# (programming for years, new to gamedev though)

I like your proposed solution of a different mapping approach in a “dynamic” subtree. I think this would address my use-case of trying to create new enemy types with different behavior parameters programmatically. For starter’s I’ll see if I can workaround a pattern that focuses on the gameObject blackboard.

I’ll post my solution here if/when I find it. Thanks for your insight!